In order to upgrade Guix on a Debian, the Guix manual and latest blog post say I should:
sudo -i guix pull
systemctl restart guix-daemon.service
I did that but /usr/bin/guix-daemon --version still says the version is 1.2.0. What should I do?
In order to upgrade Guix on a Debian, the Guix manual and latest blog post say I should:
sudo -i guix pull
systemctl restart guix-daemon.service
I did that but /usr/bin/guix-daemon --version still says the version is 1.2.0. What should I do?
I’m also using guix on debian but my guix-daemon is in other location:
/gnu/store/iygxiv409gqdfz6jj7i9jzhmijwqi5dz-guix-d95588242/bin/guix-daemon --version
guile: warning: failed to install locale
guix-daemon (GNU Guix) 1.4.0-25.e85f52e
I did use the binary installation Binary Installation (GNU Guix Reference Manual), maybe your installation was done using apt?
I find the advice from the docs and the mailing list to not quite align with what I have seen when maintaining a binary install (on Debian variannts) and so I include a snippet from my system update script below for your review:
if command -v guix 2>&1 > /dev/null; then
(set -x;
sudo su -l -c 'guix pull --timeout=0 && \
guix install guix glibc-locales nss-certs && \
guix upgrade --timeout=0 && \
guix gc --delete-generations=1m')
...
fi
Something like that is the only way I’ve ever gotten a binary install to reliably update.