Thank you, Rutherther!  I ran the following:

> sudo guix gc --verify=contents,repair
reading the store...
checking path existence...
checking hashes...

I tried again "guix package -l" after, but I still get the same error.

I have no idea what you mean by "you will probably have to switch to
earlier generation, and remove the one affected by the corruption"

On the other hand, since I know exactly the list of 10-ish packages I have
installed using Guix, it might be easier to delete/uninstall Guix
completely.  Then install it fresh again.  Any specific things to be
careful with if I chose that path?

Regards,

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




On Sun, 31 Aug 2025 at 18:22, Rutherther <[email protected]> wrote:

>
> 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