From: Maxime Devos <maximedevos@telenet.be>
To: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>,
49811@debbugs.gnu.org
Subject: bug#49811: Empty store items
Date: Tue, 27 Sep 2022 17:17:45 +0200 [thread overview]
Message-ID: <ebb22f7c-f6cd-f782-0aad-3b0a960d1944@telenet.be> (raw)
In-Reply-To: <5eb5bbe1ea9f438d9685b03be7f10dee8cd311c9.camel@korwin-zmijowski.fr>
[-- Attachment #1.1.1: Type: text/plain, Size: 1231 bytes --]
On 25-09-2022 23:57, Jérémy Korwin-Zmijowski wrote:
> Hi,
>
> Right now, I have an empty store item : openssh-8.9p1.
> Could be the result of brutal shutdown (laptop battery)…
I think this might be caused by <https://issues.guix.gnu.org/58035>.
> guix gc --verify=repair,contents
> guix build --repair openssh
> guix build --check openssh
> guix build -d openssh
> guix gc --optimize
> guix gc -D /gnu/store/ffp49k0wci7h36lk38lasx4r5lc4i7iv-openssh-8.9p1
>
> But nothing worked.
One additional trick: openssh is grafted, try repairing the ungrafted
openssh first:
$ sudo guix build --repair $(guix build openssh --no-grafts)
then the grafted version:
$ sudo guix build --repair $(guix build openssh)
(though if that works, I don't know how the ungrafted openssh could have
been considered valid in the first place).
> I read somewhere deleting /gnu/store/.links could be helpful but as I'm
> not sure I did not.
It might not be helpful, but it can't be harmful (except for more disk
usage, but running a 'guix gc --optimize' afterwards should address that).
(If you try this, first delete .links, then do the "guix build
--repair", in that order.)
Greetings,
Maxime
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
prev parent reply other threads:[~2022-09-27 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 20:09 Empty store items Thorsten Wilms
2021-08-01 21:00 ` Leo Famulari
2021-10-22 20:11 ` bug#49811: " Maxime Devos
2022-09-25 21:57 ` Jérémy Korwin-Zmijowski
2022-09-27 15:17 ` Maxime Devos [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ebb22f7c-f6cd-f782-0aad-3b0a960d1944@telenet.be \
--to=maximedevos@telenet.be \
--cc=49811@debbugs.gnu.org \
--cc=jeremy@korwin-zmijowski.fr \
/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.