help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Rescue GuixSD when guile and guix arebroken?


From: znavko
Subject: Re: How to Rescue GuixSD when guile and guix arebroken?
Date: Fri, 21 Sep 2018 14:57:43 +0000

Thank you, Ricardo Wurmus, for these exact instructions.

> If you don’t have this you are likely upgrading from an old version of
> Guix before that change was made. In that case you need to upgrade to a
> version of Guix that has a guile-gcrypt package, then install it, and
> only then run “guix pull”.

I have that bin directory:

# cd ~/.config/guix/current/bin/
~/.config/guix/current/bin# ls
guix  guix-daemon

And I have no upgrades for guix. As I thought before upgrading process is `guix 
pull && guix package -u ATOM`

# guix package -u guix
# guix --version
guix (GNU Guix) e67ad5532f76b53e955149da2f1e237696ff0893
Copyright (C) 2018 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Did you mean Guix version  67ad5532f76b53e955149da2f1e237696ff0893 that provide 
gcrypt?
Can I run `guix pull` now?


‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
пятница, сентябрь 21, 2018 4:17 дня, Ricardo Wurmus <address@hidden> пишет:

> Hello,
>
> > Both times, as I think, it happened this way. I run `guix pull`,
> > switch off notebook while it is running (just a mistake) and then I
> > run again `guix pull`, it works, but gives the errors.
>
> The mechanism used by “guix pull” has changed. These errors no longer
> happen with the new mechanism.
>
> > guix gc -R $(readlink -f ~/.config/guix/latest)
> >
> > ================================================
>
> ~/.config/guix/latest is no longer used. Instead “guix pull” installs a
> full self-contained Guix to ~/.config/guix/current/bin/.
>
> If you don’t have this you are likely upgrading from an old version of
> Guix before that change was made. In that case you need to upgrade to a
> version of Guix that has a guile-gcrypt package, then install it, and
> only then run “guix pull”.
>
> With the new mechanism you can simply use any of the older variants of
> Guix you have in ~/.config/guix/current-n-link/bin.
>
> Hope this helps!
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Ricardo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]