GNU bug report logs - #58988
guix pull stopped to work on my Guix System

Previous Next

Package: guix;

Reported by: guixuser <at> airmail.cc

Date: Thu, 3 Nov 2022 14:38:02 UTC

Severity: normal

Done: guixuser <at> airmail.cc

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: guixuser <at> airmail.cc
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 58988 <at> debbugs.gnu.org
Subject: bug#58988: How Can I restore a file inside /gnu/store/ ?
Date: Fri, 04 Nov 2022 15:49:51 +0100
On 2022-11-04 10:18, Tobias Geerinckx-Rice wrote:
> Heyo,
> 
> Adding some notable info that user_ shared on IRC:
> 
>> user2 <at> host ~$ sudo guix build --repair 
>> /gnu/store/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae
>> Senha: substitute: atualizando substitutos de 
>> "https://ci.guix.gnu.org"... 100.0%
>> substituindo 
>> /gnu/store/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae...
>> baixando de 
>> https://ci.guix.gnu.org/nar/lzip/yjllxib1fm3zqkwmr5j4lpxhz3zqsjjz-guix-e3280ae 
>> ...
>> 
>> guix-e3280ae               792KiB/s 00:21 | 16.1MiB transferred
> 
> guixuser <at> airmail.cc 写道:
>> I need to fix this file but
>> /gnu/store/ is read only, How can I restore this file?
> 
> Well, ‘sudo guix gc --verify=contents,repair’, or ‘guix build 
> --repair’.
> 
> Since neither worked: if you've ‘guix pull’ed before, you should have
> some previous profiles as
> 
>  /var/guix/profiles/per-user/$USER/current-guix-*
> 
> If so: see if pulling any of those works, e.g.,
> 
>  $ /var/guix/profiles/per-user/$USER/current-guix-1-link/bin/guix  pull
> 
> Kind regards,
> 
> T G-R

Thanks for the input, but I still dont get it working I tried few 
differente profiles here, but they all still referencing the corrupted 
file, as an example I trie the following:

$  /var/guix/profiles/per-user/user/guix-profile-685-link/bin/guix pull  
                                                                         
                           [471/1977]
Atualizando canal "guix" a partir do repositório Git 
"https://git.savannah.gnu.org/git/guix.git"...
Autenticando canal "guix", commits de 9edb3f6 a 04f8295 (1 novos 
commits)...
Compilando a partir deste canal:
  guix      https://git.savannah.gnu.org/git/guix.git   04f8295
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   659:37 18 (thunk)
In guix/status.scm:
    815:4 17 (call-with-status-report _ _)
In guix/store.scm:
   1321:3 16 (_)
   1298:8 15 (call-with-build-handler #<procedure 7ff172bd8a20 at g…> …)
In guix/build/syscalls.scm:
   1425:3 14 (_)
   1392:4 13 (call-with-file-lock/no-wait _ #<procedure 7ff172ef236…> …)
In guix/store.scm:
  2168:25 12 (run-with-store #<store-connection 256.99 7ff172b9f730> …)
In guix/scripts/pull.scm:
    452:2 11 (_ _)
In guix/channels.scm:
    891:2 10 (_ _)
In guix/monads.scm:
    471:9  9 (_ _)
In guix/store.scm:
  1996:13  8 (_ #<store-connection 256.99 7ff172b9f730>)
In guix/channels.scm:
   682:20  7 (build-from-source #<<channel-instance> channel: #<<ch…> …)
In ice-9/boot-9.scm:
   2836:4  6 (save-module-excursion #<procedure 7ff17513ce20 at guix…>)
In guix/channels.scm:
   689:25  5 (_)
In unknown file:
           4 (primitive-load "/gnu/store/vg5b37za8np63s03g98b8rw60h3…")
In ice-9/eval.scm:
   223:20  3 (proc #<directory (guile-user) 7ff177312c80>)
In unknown file:
           2 (%resolve-variable (7 . #) #<directory (guile-user) 7ff…>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
erro: 
#{\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\
....




This bug report was last modified 2 years and 257 days ago.

Previous Next


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