Hi Florent,

Florent Georges <[email protected]> writes:

> Hi,
>
> After a reboot (a crash of my machine running Ubuntu, actually,) I get an
> error with Guix, about an unsupported manifest format.  For instance:
>
>> guix package -l
> Generation 1 Jul 14 2022 17:24:46
>   emacs 27.2 out /gnu/store/6ahsf2ja6qyg19skggjxxpf9xx6ybxi1-emacs-27.2
>
> Generation 2 Jul 14 2022 19:33:27
>  + glibc-utf8-locales 2.31 out
> /gnu/store/rgydar9dfvflqqz2irgh7njj34amaxc6-glibc-utf8-locales-2.31
>
> Generation 3 Jul 14 2022 19:37:02
> guix package: error: unsupported manifest format
>
> Any idea what could be wrong?

Yes, especially if your machine crashed, this is probably a file
corruption. You can try running `guix gc --verify=contents,repair`
to find corrupted files in store and repair them if possible (they have
to be substitutable)

If your profile's manifest is broken, that's unfortunate as you cannot
really substitute that. So you will probably have to switch to earlier
generation, and remove the one affected by the corruption, then you
should be fine.

Rutherther

>
> -- 
> Florent Georges
> H2O Consulting
> http://h2o.consulting/

Reply via email to