Hi everyone, I have an update on this matter.

"John Haman" <[email protected]> writes:

> Hi Ludo:
>
> On Thu, Apr 23, 2026, at 12:46 PM, Ludovic Courtès wrote:
>> Could it be a disk corruption issue?
>>
>> Could you try running ‘guix gc --verify=contents’?  (This takes time
>> though…)
>>
>> In the meantime, you can probably work around the issue along these
>> lines:
>>
>>   rm ~/.config/guix/current
>>   guix pull
>
>
> We are getting somewhere. Unfortunately, removing the current profile and 
> pulling yields the same error.
>
> john@desktop ~$   rm ~/.config/guix/current
> john@desktop ~$ guix pull
> guix pull: error: unsupported manifest format
>
> Yes, there is corruption in the gnu store (I think this must be true if there 
> is a hash mismatch?)
>
> john@desktop ~$ guix gc --verify=contents
> reading the store...
> checking path existence...
> checking hashes...
> path `/gnu/store/bllm4gdyjzqjd9b10m9h0pahk3jhb624-emacs-subdirs' was modified!
> expected hash
> `67d3c726db05e38d38e60e6100a01b05c862da550b742fdf740b50ec0c8770ce', got
> `d80b06c42a7337477b2b04d7360344f499151fc0f4be2ca94b1a377744fecad4'
> path `/gnu/store/nj8fvdfbmj2rqmb6yp4sx9gxzqpsdsjm-profile' was modified!
> expected hash
> `6a94dece356f0abddf15783373f2fe5b6e5eeefd57fdde92405b7b91dcbe7ccc', got
> `d8d09fa6dbdfc56b0d7048b334c8448db7001f730b236c611b30abf6bcad0acf'
> path `/gnu/store/x07k6gqw2j7ldmpvhglp8c6xgir2r9r5-guix-package-cache' was
> modified! expected hash
> `f69ff710162590650c605092206785be4c6ffb748fd7a457d333a53285fd1396', got
> `fa513ea35645b9942ae19f7c916dc336b01e812b71c1336dcde09152436c39bf'
>

I was able to manually update the symlink from guix/current to the
previous generation and pull again. After updating the symlink, the pull
was initially unsuccessful with Git/SSL errors. I temporarily installed
nss-certs into my Guix profile and set the env vars. Essentially, I
followed some of the steps in
https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#x509-certificate-error.

I think my Guix is working again, at least it's in the middle of a pull
right now.

The power outage that led to the mess in the first place may or may not be a 
Guix
bug that I'm not going to try to reproduce. I was experimenting with
activating some kernel modules and setting some parameters for my AMD
GPU. During the system reconfigure, the computer just hard shutdown.
Maybe I'm lucky that the system was still in a usable state sans guix
pull working.

--
John T. Haman
Maryland, USA
Sent from my Gnus

Reply via email to