unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
@ 2022-10-14 18:08 Timothée Flutre
  2022-10-14 20:01 ` Maxime Devos
  2022-10-15 11:44 ` zimoun
  0 siblings, 2 replies; 11+ messages in thread
From: Timothée Flutre @ 2022-10-14 18:08 UTC (permalink / raw)
  To: 58526

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

Hello,

I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed Guix
to try it out, which I finally did not for various reasons. But hearing the
talk of K. Hinsen last month convinced me of giving it another try.

I hence started by upgrading Guix, like this:
sudo -i guix pull >& output_guix_pull.txt

But I got the following message (last line of the output):
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.

The whole report is attached in the file "output_guix_pull.txt".

Thank you in advance for your help!
Timothée Flutre

[-- Attachment #2: Type: text/html, Size: 915 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-14 18:08 bug#58526: bug report upgrading Guix from 1.0.1 to 1.3 Timothée Flutre
@ 2022-10-14 20:01 ` Maxime Devos
  2022-10-15 11:44 ` zimoun
  1 sibling, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-10-14 20:01 UTC (permalink / raw)
  To: timflutre, 58526


[-- Attachment #1.1.1: Type: text/plain, Size: 952 bytes --]



On 14-10-2022 20:08, Timothée Flutre wrote:
> Hello,
> 
> I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed 
> Guix to try it out, which I finally did not for various reasons. But 
> hearing the talk of K. Hinsen last month convinced me of giving it 
> another try.
> 
> I hence started by upgrading Guix, like this:
> sudo -i guix pull >& output_guix_pull.txt

You are trying to upgrade the daemon (and have some setup where root's 
Guix is used), I assume?  If you meant to update the set of available 
packages of your regular user, you shouldn't do sudo (because sudo if 
for switching to root instead).

> But I got the following message (last line of the output):
> Please report the COMPLETE output above by email to <bug-guix@gnu.org 
> <mailto:bug-guix@gnu.org>>.
> 
> The whole report is attached in the file "output_guix_pull.txt".

The attachment seems to be missing.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-14 18:08 bug#58526: bug report upgrading Guix from 1.0.1 to 1.3 Timothée Flutre
  2022-10-14 20:01 ` Maxime Devos
@ 2022-10-15 11:44 ` zimoun
  2022-10-16 15:25   ` Timothée Flutre
  1 sibling, 1 reply; 11+ messages in thread
From: zimoun @ 2022-10-15 11:44 UTC (permalink / raw)
  To: timflutre, 58526

Hi,

On Fri, 14 Oct 2022 at 20:08, Timothée Flutre <timflutre@gmail.com> wrote:

> I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed Guix
> to try it out, which I finally did not for various reasons. But hearing the
> talk of K. Hinsen last month convinced me of giving it another try.

Cool!


> I hence started by upgrading Guix, like this:
> sudo -i guix pull >& output_guix_pull.txt

Well, the guix-daemon is probably too old.  Maybe you need something
like [1]:

   sudo -i guix package --bootstrap -r guix -i \
     /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af

1: <https://yhetil.org/guix/87wn9dnxsx.fsf@inria.fr>


> The whole report is attached in the file "output_guix_pull.txt".

Missing attachment.


Cheers,
simon




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-15 11:44 ` zimoun
@ 2022-10-16 15:25   ` Timothée Flutre
  2022-10-16 16:26     ` Maxime Devos
  2022-10-17  7:58     ` zimoun
  0 siblings, 2 replies; 11+ messages in thread
From: Timothée Flutre @ 2022-10-16 15:25 UTC (permalink / raw)
  To: zimoun; +Cc: 58526


[-- Attachment #1.1: Type: text/plain, Size: 1654 bytes --]

Here is the attachement, sorry for forgetting it the first time.

--------------------------------------------

Thank you Maxime.

I would like to (1) upgrade the deamon, and then (2) use it to update all
packages. I hence started by reading the manual:
https://guix.gnu.org/manual/en/html_node/Upgrading-Guix.html
Because I am running on a foreign distro, I used the command "sudo -i guix
pull" as indicated.

Following your advice, I used today "guix pull", but I got the same message.

--------------------------------------------

Thank you Simon. I copy-pasted your command but I have no file named
"/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af".

Best,
Timothée


Le sam. 15 oct. 2022 à 13:55, zimoun <zimon.toutoune@gmail.com> a écrit :

> Hi,
>
> On Fri, 14 Oct 2022 at 20:08, Timothée Flutre <timflutre@gmail.com> wrote:
>
> > I have a computer with Ubuntu 22.04.1 LTS". Some time ago, I installed
> Guix
> > to try it out, which I finally did not for various reasons. But hearing
> the
> > talk of K. Hinsen last month convinced me of giving it another try.
>
> Cool!
>
>
> > I hence started by upgrading Guix, like this:
> > sudo -i guix pull >& output_guix_pull.txt
>
> Well, the guix-daemon is probably too old.  Maybe you need something
> like [1]:
>
>    sudo -i guix package --bootstrap -r guix -i \
>      /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
>
> 1: <https://yhetil.org/guix/87wn9dnxsx.fsf@inria.fr>
>
>
> > The whole report is attached in the file "output_guix_pull.txt".
>
> Missing attachment.
>
>
> Cheers,
> simon
>

[-- Attachment #1.2: Type: text/html, Size: 2612 bytes --]

[-- Attachment #2: output_guix_pull.txt --]
[-- Type: text/plain, Size: 2961 bytes --]

/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	a86979b
substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
Computing Guix derivation for 'x86_64-linux'...  /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)
downloading from https://ci.guix.gnu.org/nar/lzip/by8nai45wdxsmvq75972732jk3wpg0al-curl-7.84.0-doc...
Backtrace:
           3 (apply-smob/1 #<catch-closure 132f640>)
In ice-9/boot-9.scm:
    705:2  2 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8  1 (_ #(#(#<directory (guile-user) 13b2140>)))
In guix/ui.scm:
  1747:12  0 (run-guix-command _ . _)

guix/ui.scm:1747:12: In procedure run-guix-command:
unsupported compression scheme lzip
Backtrace:
          13 (primitive-load "/gnu/store/9bbc9z7lgfawd6lsviylw35qm2fy7rfb-compute-guix-derivation")
In ice-9/eval.scm:
    155:9 12 (_ _)
    159:9 11 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-u?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ice-9/boot-9.scm:
    152:2 10 (with-fluid* _ _ _)
    152:2  9 (with-fluid* _ _ _)
In ./guix/store.scm:
  2165:24  8 (run-with-store #<store-connection 256.99 1f614e0> _ #:guile-for-build _ #:system _ #:target _)
   1993:8  7 (_ _)
In ./guix/gexp.scm:
   300:22  6 (_ _)
   1181:2  5 (_ _)
   1047:2  4 (_ _)
    893:4  3 (_ _)
In ./guix/store.scm:
  2050:12  2 (_ #<store-connection 256.99 1ec38ae0>)
   1398:5  1 (map/accumulate-builds #<store-connection 256.99 1ec38ae0> #<procedure 1aba95e0 at ./guix/store.scm:20?> ?)
  1414:15  0 (_ #<store-connection 256.99 1ec38ae0> _ _)

./guix/store.scm:1414:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/i6ckkxx8211x9yz3f34wcnbg7mblk7kg-curl-7.84.0.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] a58b0c0>)'.
guix pull: error: You found a bug: the program '/gnu/store/9bbc9z7lgfawd6lsviylw35qm2fy7rfb-compute-guix-derivation'
failed to compute the derivation for Guix (version: "a86979b41a49a8fcdaa887970ba594dbba701226"; system: "x86_64-linux";
host version: "1.0.1"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-16 15:25   ` Timothée Flutre
@ 2022-10-16 16:26     ` Maxime Devos
       [not found]       ` <handler.s.C.166593762226965.transcript@debbugs.gnu.org>
  2022-10-17 18:25       ` Timothée Flutre
  2022-10-17  7:58     ` zimoun
  1 sibling, 2 replies; 11+ messages in thread
From: Maxime Devos @ 2022-10-16 16:26 UTC (permalink / raw)
  To: timflutre, zimoun; +Cc: GNU bug tracker automated control server, 58526


[-- Attachment #1.1.1: Type: text/plain, Size: 582 bytes --]

merge 58149 58526
thanks

On 16-10-2022 17:25, Timothée Flutre wrote:
> Here is the attachement, sorry for forgetting it the first time.

The 'unsuppported compression scheme lzip' looks like a duplicate of 
https://issues.guix.gnu.org/58149, merging.

> Le sam. 15 oct. 2022 à 13:55, zimoun <zimon.toutoune@gmail.com 
> <mailto:zimon.toutoune@gmail.com>> a écrit :
> [...]

I recommend against top-posting -- the e-mail clients I know of support 
methods for easy navigation to the mail that was replied to, no need to 
duplicate that.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58149: bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
       [not found]       ` <handler.s.C.166593762226965.transcript@debbugs.gnu.org>
@ 2022-10-16 16:58         ` Maxime Devos
  0 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-10-16 16:58 UTC (permalink / raw)
  To: GNU bug tracker automated control server, 58526, 58149


[-- Attachment #1.1.1: Type: text/plain, Size: 355 bytes --]

reopen 58149
merge 58149 58526
thanks

I tried merging 58149 with 58526 because they appear to be essentially 
the same issue (pre-lzip stuff).

As far as I can tell, no fix for that problem was provided, and it's 
still happening (see, e.g., 58526).  As such, I'm reopening.

Feel free to reclose if I missed something.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-16 15:25   ` Timothée Flutre
  2022-10-16 16:26     ` Maxime Devos
@ 2022-10-17  7:58     ` zimoun
  2022-10-17 18:23       ` Timothée Flutre
  1 sibling, 1 reply; 11+ messages in thread
From: zimoun @ 2022-10-17  7:58 UTC (permalink / raw)
  To: timflutre; +Cc: 58526

Hi,

On dim., 16 oct. 2022 at 17:25, Timothée Flutre <timflutre@gmail.com> wrote:

> Thank you Simon. I copy-pasted your command but I have no file named
> "/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af".

Hum, the error is about curl, no?  I mean the message reads,

> ./guix/store.scm:1414:15: Throw to key `srfi-34' with args `(#<condition &store-protocol-error [message: "some substitutes for the outputs of derivation `/gnu/store/i6ckkxx8211x9yz3f34wcnbg7mblk7kg-curl-7.84.0.drv' failed (usually happens due to networking issues); try `--fallback' to build derivation from source " status: 1] a58b0c0>)'.

so do I miss something?

Well, could you try to add the option --fallback

   sudo -i guix package --bootstrap --fallback -r guix -i \
     /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af

?


Cheers,
simon




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-17  7:58     ` zimoun
@ 2022-10-17 18:23       ` Timothée Flutre
  2022-10-17 19:59         ` zimoun
  0 siblings, 1 reply; 11+ messages in thread
From: Timothée Flutre @ 2022-10-17 18:23 UTC (permalink / raw)
  To: zimoun; +Cc: 58526

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hello Simon,

I have curl on my computer (v7.81.0). I tried running your command but it
failed, returning the following:
~$ sudo -i guix package --bootstrap --fallback -r guix -i
/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
[sudo] password for tflutre:
/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

guix package: error: package 'guix' not found in profile

Tim

[-- Attachment #2: Type: text/html, Size: 831 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-16 16:26     ` Maxime Devos
       [not found]       ` <handler.s.C.166593762226965.transcript@debbugs.gnu.org>
@ 2022-10-17 18:25       ` Timothée Flutre
  2022-10-17 18:56         ` Maxime Devos
  1 sibling, 1 reply; 11+ messages in thread
From: Timothée Flutre @ 2022-10-17 18:25 UTC (permalink / raw)
  To: Maxime Devos; +Cc: GNU bug tracker automated control server, 58526, zimoun

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

Hello Maxime,

Thanks for finding this issue that seems related to my issue.

As it may take some time for someone to fix this issue, could I uninstall
my current Guix setup, and install it again?

Sorry for top-posting, I was not aware of the problem it may caused.

Best,
Tim

[-- Attachment #2: Type: text/html, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-17 18:25       ` Timothée Flutre
@ 2022-10-17 18:56         ` Maxime Devos
  0 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-10-17 18:56 UTC (permalink / raw)
  To: timflutre; +Cc: 58526, zimoun


[-- Attachment #1.1.1: Type: text/plain, Size: 401 bytes --]



On 17-10-2022 20:25, Timothée Flutre wrote:
> Hello Maxime,
> 
> Thanks for finding this issue that seems related to my issue.
> 
> As it may take some time for someone to fix this issue, could I 
> uninstall my current Guix setup, and install it again?

As far as I know there is no law against that, sure (it also doesn't 
appear to be a 'moreinfo' situation).

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#58526: bug report upgrading Guix from 1.0.1 to 1.3
  2022-10-17 18:23       ` Timothée Flutre
@ 2022-10-17 19:59         ` zimoun
  0 siblings, 0 replies; 11+ messages in thread
From: zimoun @ 2022-10-17 19:59 UTC (permalink / raw)
  To: timflutre; +Cc: 58526

Hi,

On Mon, 17 Oct 2022 at 20:23, Timothée Flutre <timflutre@gmail.com> wrote:

> ~$ sudo -i guix package --bootstrap --fallback -r guix -i
> /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
> [sudo] password for tflutre:
> /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash:
> warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
> guix package: warning: Consider running 'guix pull' followed by
> 'guix package -u' to get up-to-date packages and security updates.
>
> guix package: error: package 'guix' not found in profile

sudo -i \
   guix package --bootstrap --fallback \
    -i /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af


Cheers,
simon




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-17 20:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 18:08 bug#58526: bug report upgrading Guix from 1.0.1 to 1.3 Timothée Flutre
2022-10-14 20:01 ` Maxime Devos
2022-10-15 11:44 ` zimoun
2022-10-16 15:25   ` Timothée Flutre
2022-10-16 16:26     ` Maxime Devos
     [not found]       ` <handler.s.C.166593762226965.transcript@debbugs.gnu.org>
2022-10-16 16:58         ` bug#58149: " Maxime Devos
2022-10-17 18:25       ` Timothée Flutre
2022-10-17 18:56         ` Maxime Devos
2022-10-17  7:58     ` zimoun
2022-10-17 18:23       ` Timothée Flutre
2022-10-17 19:59         ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).