all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: guixuser@airmail.cc
Cc: 58988@debbugs.gnu.org
Subject: bug#58988: How Can I restore a file inside /gnu/store/ ?
Date: Fri, 04 Nov 2022 10:18:28 +0100	[thread overview]
Message-ID: <87a6572hof.fsf@nckx> (raw)
In-Reply-To: <194d56f96794712c59b9766a6956659d@airmail.cc>

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

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2022-11-04  9:28 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 [this message]
2022-11-04 14:49     ` guixuser
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=87a6572hof.fsf@nckx \
    --to=bug-guix@gnu.org \
    --cc=58988@debbugs.gnu.org \
    --cc=guixuser@airmail.cc \
    --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.