all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: guixuser@airmail.cc
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: 58988@debbugs.gnu.org
Subject: bug#58988: How Can I restore a file inside /gnu/store/ ?
Date: Fri, 04 Nov 2022 15:49:51 +0100	[thread overview]
Message-ID: <89f0261842f5dd2f060b99e2d1ba6aa7@airmail.cc> (raw)
In-Reply-To: <87a6572hof.fsf@nckx>

On 2022-11-04 10:18, Tobias Geerinckx-Rice wrote:
> Heyo,
> 
> Adding some notable info that user_ shared on IRC:
> 
>> user2@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@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;\
....




  reply	other threads:[~2022-11-04 14:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03  8:20 bug#58988: guix pull stopped to work on my GuixSD guixuser
2022-11-04  2:03 ` bug#58988: Adding more verbose information guixuser
2022-11-04  3:58 ` bug#58988: How Can I restore a file inside /gnu/store/ ? guixuser
2022-11-04  9:18   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-11-04 14:49     ` guixuser [this message]
2022-11-04 16:19     ` guixuser
2022-11-05 19:14     ` bug#58988: Solved guixuser
2022-11-05 22:50 ` bug#58988: guix pull stopped to work on my GuixSD Maxime Devos

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89f0261842f5dd2f060b99e2d1ba6aa7@airmail.cc \
    --to=guixuser@airmail.cc \
    --cc=58988@debbugs.gnu.org \
    --cc=me@tobias.gr \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.