From: Julien Lepiller <julien@lepiller.eu>
To: 31843-done@debbugs.gnu.org
Subject: bug#31843: guix pull corrupted current guix
Date: Fri, 15 Jun 2018 17:39:04 +0200 [thread overview]
Message-ID: <c19c61a6211b7cccfd9f5172d4526bdb@lepiller.eu> (raw)
In-Reply-To: <87tvq4rrxn.fsf@gnu.org>
Le 2018-06-15 17:27, ludo@gnu.org a écrit :
> Hello,
>
> Julien Lepiller <julien@lepiller.eu> skribis:
>
>> Hi, running guix pull this morning corrupted my current guix command.
>
> Let’s not jump to the conclusion. :-)
>
>> I am running on guixsd. Because I don't have a lot of memory, I sent a
>> generation of .config/guix/current to the server with:
>>
>> guix archive --export -r `readlink -f .config/guix/current` | ssh
>> machine guix archive --import
>
> Note that you can use ‘guix copy’ instead, which avoids sending store
> items already present on the target.
>
>> This morning, I tried to run guix pull to see how far it would go (and
>> if I could download some parts from hydra or berlin). As expected, it
>> ran out of memory, but left my store in a state where the guix command
>> linked to from .config/guix/current only contains garbage. Attached is
>> the output of "guix pull --cores=1" on that machine that lead to the
>> bug, and the new content of the guix command.
>>
>> The corrupted file is from a store item that was present (and valid)
>> before I ran guix pull, so I thought it was impossible for guix to
>> modify it.
>
> [...]
>
>> compiling... 100.0% of 1 files
>> compiling... 65.0% of 40 filesIn ice-9/boot-9.scm:
>> 829:9 19 guile: symbol lookup error:
>> /gnu/store/6mfd4f8gy11rgn2xk00cnslmrslg9w7h-guile-2.2.3/lib/libguile-2.2.so.1:
>> undefined symbol: u8_mbtoucr
>> guix pull: error: corrupt input while restoring archive from #<closed:
>> file 31742a0>
>
> To me, this error suggests that
> /gnu/store/6mfd4f8gy11rgn2xk00cnslmrslg9w7h-guile-2.2.3 was already
> corrupt at the time you run ‘guix pull’.
>
> Did you try running ‘guix gc --verify’ on that machine (using an older
> Guix)?
>
> Are there signs in the kernel log of a file system corruption?
>
> Thanks,
> Ludo’.
Ok, that was it. Not guix' fault so closing this ticket :)
Thank you!
prev parent reply other threads:[~2018-06-15 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-15 11:25 bug#31843: guix pull corrupted current guix Julien Lepiller
2018-06-15 15:27 ` Ludovic Courtès
2018-06-15 15:39 ` Julien Lepiller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c19c61a6211b7cccfd9f5172d4526bdb@lepiller.eu \
--to=julien@lepiller.eu \
--cc=31843-done@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).