bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49811: Empty store items


From: Maxime Devos
Subject: bug#49811: Empty store items
Date: Tue, 27 Sep 2022 17:17:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0



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: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]