GNU bug report logs -
#58149
Unable to pull when using a pre-lzip version of guix-daemon
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
Le 06/10/2022 à 10:47, Ludovic Courtès a écrit :
> Hi,
>
> Matthieu Haefele <matthieu.haefele <at> cnrs.fr> skribis:
>
>>> sudo -i guix package -r guix -i \
>>> /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
>> I am getting an error when trying to remove the guix package as it is not part of the profile, so I just try to install the package
> Could you try with ‘--bootstrap’ as shown below?
>
> sudo -i guix package --bootstrap -r guix -i \
> /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
>
Victory !!
(base) mhaefele <at> mdlspc113:tmp $ /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version
guile: warning: failed to install locale
guix-daemon (GNU Guix) 1.3.0-30.17134b9
And the `guix pull` runs smoothly now, thanks a lot :)
Now it is fixed I have two questions:
1. What am I doing wrong to have stuck to this old guix daemon all this time ? Shall I run this `sudo -i guix pull` regularly to
keep my daemon up to date ? But then it looks like I am the only one who faced this issue, weird, no ? And problems should have
started back in February, but I intensively worked on guix this summer, including some `guix pull`... If reasons are not too
complicated, I am interested in getting some insights.
2. We have tried out several things. If I have a colleague in a similar situation, could you confirm the following procedure:
/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version
# should answer something like "guix-daemon (GNU Guix) 1.0.1"
guix build \
/gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
sudo -i guix package --bootstrap -p /root/.config/guix/current \
-r guix -i /gnu/store/n8vdar2f60mvq62g7mngpqwykbm9rw1q-guix-1.2.0rc2-1.0d4b1af
systemctl restart guix-daemon
/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version
# should answer "guix-daemon (GNU Guix) 1.2.0rc2-1.0d4b1af"
sudo -i guix pull
systemctl restart guix-daemon
/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --version
# should answer something like "guix-daemon (GNU Guix) 1.3.0-30.17134b9"
Agree ?
Thanks
Mat
[smime.p7s (application/pkcs7-signature, attachment)]
This bug report was last modified 2 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.