Subject: Re: bug#57838: failing to boot, probably due to guix gc

From: Maxime Devos <[email-masked]>
Date: Sat, 24 Sep 2022 03:43:26 +0200

For these kind of errors, I think I've an idea what's the cause in 
<https://issues.guix.gnu.org/58035>.

On 15-09-2022 21:44, Attila Lendvai wrote:
> dear Guixers,
> 
> on one of my installs i ran the following two commands as root:
> 
> guix gc --delete-generations=60d
> guix system delete-generations 60d
> 
> i think i ran a reboot pretty soon after this, and the machine is failing to boot with the error "no code for module (ice-9 popen)".

How did you reboot?  Maybe whatever rebooting mechanism you use doesn't 
do 'sync' first or doesn't wait for 'sync' to complete.

To test the hypothesis that there is store corruption, could you do 
"guix gc --verify=contents" (assuming there are some old system 
generations you can boot from)?

Greetings,
Maxime.