How do I install guix on 21.04? After "apt-get install guix" I cannot run guix pull
guix pull: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
It seems that directory is not created. The binary installation page on the guix site describes some steps that don't seem to have been performed with the apt install while others have.
I can't find any documentation in the installation that describes additional installation instructions.
edit: the output of service status guix-daemon
guix-daemon.service: Failed to locate executable /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon: No such file or directoryedit: Solved: There was an old guix-daemon systemd file in /etc/ from a previous manual binary installation. Deleted it and systemctl daemon-reload; systemctl restart guix-daemon fixed it.
41 Answer
If you encounter a similar issue, this should be the solution below (as solved by OP themself):
It is probably caused by an old guix-daemon systemd file in /etc/ from a previous manual binary installation.
Delete this file (the old
guix-daemon systemdfile).Run the following commands on your terminal to reload
daemonand restartguix-daemon:$ systemctl daemon-reload $ systemctl restart guix-daemon
Everything should be OK now.
1