GNU bug report logs - #49811
Empty store items

Previous Next

Package: guix;

Reported by: "Leo Famulari" <leo <at> famulari.name>

Date: Sun, 1 Aug 2021 21:02:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: Jérémy Korwin-Zmijowski <jeremy <at> korwin-zmijowski.fr>, 49811 <at> debbugs.gnu.org
Subject: bug#49811: Empty store items
Date: Tue, 27 Sep 2022 17:17:45 +0200
[Message part 1 (text/plain, inline)]

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
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

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

Previous Next


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