GNU bug report logs - #23557
"corrupt input while restoring archive from socket" after interrupted package install

Previous Next

Package: guix;

Reported by: Harry Prevor <habs <at> sdf.org>

Date: Mon, 16 May 2016 19:17:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23557 in the body.
You can then email your comments to 23557 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#23557; Package guix. (Mon, 16 May 2016 19:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Harry Prevor <habs <at> sdf.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 16 May 2016 19:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Harry Prevor <habs <at> sdf.org>
To: bug-guix <at> gnu.org
Subject: "corrupt input while restoring archive from socket" after interrupted
 package install
Date: Mon, 16 May 2016 15:09:43 -0400
Hi all,

I tried to install emacs on guix recently, and I actually got a kernel 
panic in the middle of installing so I had to do a hard reboot. Since 
then, every time I tried to do guix package -i emacs I got this error:

> substitute: Backtrace:
> substitute: In ice-9/boot-9.scm:
> substitute:  157: 9 [catch #t #<catch-closure e00500> ...]
> substitute: In unknown file:
> substitute:    ?: 8 [apply-smob/1 #<catch-closure e00500>]
> substitute: In ice-9/boot-9.scm:
> substitute:   63: 7 [call-with-prompt prompt0 ...]
> substitute: In ice-9/eval.scm:
> substitute:  432: 6 [eval # #]
> substitute: In ice-9/boot-9.scm:
> substitute: 2401: 5 [save-module-excursion #<procedure e1f940 at 
> ice-9/boot-9.scm:4045:3 ()>]
> substitute: 4050: 4 [#<procedure e1f940 at ice-9/boot-9.scm:4045:3 ()>]
> substitute: 1724: 3 [%start-stack load-stack #<procedure e32900 at 
> ice-9/boot-9.scm:4041:10 ()>]
> substitute: 1729: 2 [#<procedure e37ea0 ()>]
> substitute: In unknown file:
> substitute:    ?: 1 [primitive-load 
> "/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin/.guix-real"]
> substitute: In guix/ui.scm:
> substitute: 1188: 0 [run-guix-command substitute "--query"]
> substitute:
> substitute: guix/ui.scm:1188:6: In procedure run-guix-command:
> substitute: guix/ui.scm:1188:6: Throw to key `match-error' with args 
> `("match" "no matching pattern" #<eof>)'.
> guix package: error: corrupt input while restoring archive from socket

I run guix pull with regularity, so I should have the latest software. 
Also, "guix gc --verify" yeilds no errors. "lfam" on IRC recommended 
that I try finding all /gnu/store/*-emacs-* and running "guix gc -d" on 
those files, but I tried that and even that didn't work. Can anyone 
provide any suggestions / solutions to debug this?

Also, I am not subscribed to this list, so please CC me in any responses 
to this message.

Thank you,

-- 
Harry Prevor




Information forwarded to bug-guix <at> gnu.org:
bug#23557; Package guix. (Mon, 16 May 2016 21:12:01 GMT) Full text and rfc822 format available.

Message #8 received at 23557 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Harry Prevor <habs <at> sdf.org>
Cc: 23557 <at> debbugs.gnu.org
Subject: Re: bug#23557: "corrupt input while restoring archive from socket"
 after interrupted package install
Date: Mon, 16 May 2016 23:10:52 +0200
Hello,

Harry Prevor <habs <at> sdf.org> skribis:

> I tried to install emacs on guix recently, and I actually got a kernel
> panic in the middle of installing so I had to do a hard reboot.

Are you installing GuixSD, or are you installing Guix on another distro?

> Since
> then, every time I tried to do guix package -i emacs I got this error:
>
>> substitute: Backtrace:
>> substitute: In ice-9/boot-9.scm:
>> substitute:  157: 9 [catch #t #<catch-closure e00500> ...]
>> substitute: In unknown file:
>> substitute:    ?: 8 [apply-smob/1 #<catch-closure e00500>]
>> substitute: In ice-9/boot-9.scm:
>> substitute:   63: 7 [call-with-prompt prompt0 ...]
>> substitute: In ice-9/eval.scm:
>> substitute:  432: 6 [eval # #]
>> substitute: In ice-9/boot-9.scm:
>> substitute: 2401: 5 [save-module-excursion #<procedure e1f940 at
>> ice-9/boot-9.scm:4045:3 ()>]
>> substitute: 4050: 4 [#<procedure e1f940 at ice-9/boot-9.scm:4045:3 ()>]
>> substitute: 1724: 3 [%start-stack load-stack #<procedure e32900 at
>> ice-9/boot-9.scm:4041:10 ()>]
>> substitute: 1729: 2 [#<procedure e37ea0 ()>]
>> substitute: In unknown file:
>> substitute:    ?: 1 [primitive-load
>> "/gnu/store/3g6zn8y5sfwywr4pqiwqrab735a0x4zl-guix-0.10.0/bin/.guix-real"]
>> substitute: In guix/ui.scm:
>> substitute: 1188: 0 [run-guix-command substitute "--query"]
>> substitute:
>> substitute: guix/ui.scm:1188:6: In procedure run-guix-command:
>> substitute: guix/ui.scm:1188:6: Throw to key `match-error' with args
>> `("match" "no matching pattern" #<eof>)'.
>> guix package: error: corrupt input while restoring archive from socket

What does this command report (run as root):

  guix substitute --help

Do you know what substitute server is being used?

Can you try:

  guix build emacs --substitute-urls=http://mirror.hydra.gnu.org

and:

  guix build emacs --substitute-urls=https://mirror.hydra.gnu.org

Thanks in advance!

Ludo’.

PS: Please keep 23557 <at> debbugs.gnu.org Cc’d.




Information forwarded to bug-guix <at> gnu.org:
bug#23557; Package guix. (Sat, 21 May 2016 22:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 23557 <at> debbugs.gnu.org (full text, mbox):

From: Harry Prevor <habs <at> sdf.org>
To: ludo <at> gnu.org
Cc: 23557 <at> debbugs.gnu.org
Subject: Re: bug#23557: "corrupt input while restoring archive from socket"
 after interrupted package install
Date: Sat, 21 May 2016 18:06:46 -0400
Thanks Ludo',

On 2016-05-16 17:10, ludo <at> gnu.org wrote:
>> I tried to install emacs on guix recently, and I actually got a kernel
>> panic in the middle of installing so I had to do a hard reboot.
> 
> Are you installing GuixSD, or are you installing Guix on another 
> distro?

I'm trying to install emacs on GuixSD, which is running on a Thinkpad 
X200.

> What does this command report (run as root):
> 
>   guix substitute --help

This command just displays help text?

> Do you know what substitute server is being used?

I don't know. I tried using guix substitute --substitute but I'm having 
trouble identifying what the other two arguments should be.

> Can you try:
> 
>   guix build emacs --substitute-urls=http://mirror.hydra.gnu.org

It seems to have succeeded:

@ build-succeeded 
/gnu/store/p5bhpqf6zj1kg55p4gyndrppswbskh8k-emacs-24.5.drv -
/gnu/store/35nvlacqcl3wv5al5lj3077h0hx4bn2q-emacs-24.5

After doing this, I tried doing "guix package -i emacs" again, and it 
installed successfully! Thank you for your help; unfortunately I don't 
know exactly what fixed this but I'd be happy to continue debugging if 
it's of use to someone.

> 
> Thanks in advance!
> 
> Ludo’.
> 
> PS: Please keep 23557 <at> debbugs.gnu.org Cc’d.

Will do!


---
Harry Prevor





Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 22 May 2016 19:45:02 GMT) Full text and rfc822 format available.

Notification sent to Harry Prevor <habs <at> sdf.org>:
bug acknowledged by developer. (Sun, 22 May 2016 19:45:02 GMT) Full text and rfc822 format available.

Message #16 received at 23557-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Harry Prevor <habs <at> sdf.org>
Cc: 23557-done <at> debbugs.gnu.org
Subject: Re: bug#23557: "corrupt input while restoring archive from socket"
 after interrupted package install
Date: Sun, 22 May 2016 21:44:07 +0200
Harry Prevor <habs <at> sdf.org> skribis:

> On 2016-05-16 17:10, ludo <at> gnu.org wrote:
>>> I tried to install emacs on guix recently, and I actually got a kernel
>>> panic in the middle of installing so I had to do a hard reboot.
>>
>> Are you installing GuixSD, or are you installing Guix on another
>> distro?
>
> I'm trying to install emacs on GuixSD, which is running on a Thinkpad
> X200.

[...]

>> Can you try:
>>
>>   guix build emacs --substitute-urls=http://mirror.hydra.gnu.org
>
> It seems to have succeeded:
>
> @ build-succeeded
> /gnu/store/p5bhpqf6zj1kg55p4gyndrppswbskh8k-emacs-24.5.drv -
> /gnu/store/35nvlacqcl3wv5al5lj3077h0hx4bn2q-emacs-24.5
>
> After doing this, I tried doing "guix package -i emacs" again, and it
> installed successfully! Thank you for your help; unfortunately I don't
> know exactly what fixed this but I'd be happy to continue debugging if
> it's of use to someone.

Frustrating, but a good outcome.  ;-)

It could be that the thing was using http://hydra.gnu.org, and that this
server was overloaded and dropped the connection, or something.

In 0.10.0 we switched the default substitute server to
https://mirror.hydra.gnu.org, a mirror that is much faster than
hydra.gnu.org.

If you reconfigure GuixSD from a recent Guix, GuixSD’s guix-daemon
service will use mirror.hydra.gnu.org.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 Jun 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.