Installing Guix package manager on Trisquel 8
Hi fellow Trisquel users,
On Trisquel I'm trying to install the Guix package manager and got into this:
-
$ sudo ./guix-install.sh
░░░ ░░░
░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░
░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░
░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░
░▒▒▒▒░ ░░░░░░
▒▒▒▒▒ ░░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒░░░░░
▒▒▒▒▒▒░░░
▒▒▒▒▒▒░
_____ _ _ _ _ _____ _
/ ____| \ | | | | | / ____| (_)
| | __| \| | | | | | | __ _ _ ___ __
| | |_ | . ' | | | | | | |_ | | | | \ \/ /
| |__| | |\ | |__| | | |__| | |_| | |> <
\_____|_| \_|\____/ \_____|\__,_|_/_/\_\
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/
Press return to continue...
[1592571563.000]: Starting installation (vr 19 jun 2020 14:59:22 CEST)
[1592571563.005]: [ PASS ] verification of required commands completed
[1592571563.400]: [ INFO ] init system is: systemd
[1592571563.404]: [ INFO ] system is x86_64-linux
[1592571564.202]: [ PASS ] Release for your system: guix-binary-1.1.0.x86_64-linux
[1592571564.203]: [ INFO ] Downloading Guix release archive
guix-binary-1.1.0.x 100%[===================>] 70,14M 2,28MB/s in 39s
guix-binary-1.1.0.x 100%[===================>] 833 --.-KB/s in 0s
[1592571604.043]: [ PASS ] download completed.
[1592571605.051]: [ PASS ] Signature is valid.
[1592571615.673]: [ PASS ] unpacked archive
[1592571615.675]: [ INFO ] Installing /var/guix and /gnu...
[1592571615.681]: [ INFO ] Linking the root user's profile
[1592571615.689]: [ PASS ] activated root profile at /root/.config/guix/current
[1592571615.693]: [ INFO ] group guixbuild exists
[1592571615.708]: [ INFO ] user is already in the system, reset
[1592571615.728]: [ INFO ] user is already in the system, reset
[1592571615.744]: [ INFO ] user is already in the system, reset
[1592571615.758]: [ INFO ] user is already in the system, reset
[1592571615.773]: [ INFO ] user is already in the system, reset
[1592571615.785]: [ INFO ] user is already in the system, reset
[1592571615.797]: [ INFO ] user is already in the system, reset
[1592571615.816]: [ INFO ] user is already in the system, reset
[1592571615.830]: [ INFO ] user is already in the system, reset
[1592571615.844]: [ INFO ] user is already in the system, reset
Failed to start gnu-store.mount: Unit gnu-store.mount not found.
[1592571616.130]: [ INFO ] making the guix command available to other users
Permit downloading pre-built package binaries from the project's build farm? (yes/no) yes
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
defining `GUIX_LOCPATH', along these lines:
guix package -i glibc-utf8-locales
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
See the "Application Setup" section in the manual, for more info.
[1592571621.939]: [ PASS ] Authorized public key for ci.guix.gnu.org
[1592571621.942]: [ INFO ] cleaning up /tmp/user/0/guix.J8m
[1592571621.964]: [ PASS ] Guix has successfully been installed!
[1592571621.967]: [ INFO ] Run 'info guix' to read the manual.
-
But `glibc-utf8-locales' and `glibc-locales' aren't in the repo.
What does this mean and can be done about it?
Thank you.
guix expects this stuff to be installed using guix itself. i think guix uses those packages to handle where localization is needed in some programs.
as a regular user (NOT sudo) type:
guix package -i glibc-utf8-locales && guix package -i glibc-locales
I think you can also do:
guix package -i glibc-utf8-locales glibc-locales
you should be good to go.
Thank you davidgpil.
--
$ guix package -i glibc-utf8-locales && guix package -i glibc-locales
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
defining `GUIX_LOCPATH', along these lines:
guix package -i glibc-utf8-locales
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
See the "Application Setup" section in the manual, for more info.
guix package: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
--
$ guix package -i glibc-utf8-locales glibc-locales
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
defining `GUIX_LOCPATH', along these lines:
guix package -i glibc-utf8-locales
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
See the "Application Setup" section in the manual, for more info.
guix package: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory
did the guix install script install correctly?
"guix package: error: failed to connect to `/var/guix/daemon-socket/socket': No such file or directory" is concerning.
Removed Guix, then reinstalled:
-
$ sudo ./guix-install.sh
░░░ ░░░
░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░
░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░
░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░
░▒▒▒▒░ ░░░░░░
▒▒▒▒▒ ░░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒░░░░░
▒▒▒▒▒▒░░░
▒▒▒▒▒▒░
_____ _ _ _ _ _____ _
/ ____| \ | | | | | / ____| (_)
| | __| \| | | | | | | __ _ _ ___ __
| | |_ | . ' | | | | | | |_ | | | | \ \/ /
| |__| | |\ | |__| | | |__| | |_| | |> <
\_____|_| \_|\____/ \_____|\__,_|_/_/\_\
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/
Press return to continue...
[1592662498.778]: Starting installation (za 20 jun 2020 16:14:58 CEST)
[1592662498.783]: [ PASS ] verification of required commands completed
[1592662499.186]: [ INFO ] init system is: systemd
[1592662499.190]: [ INFO ] system is x86_64-linux
[1592662499.998]: [ PASS ] Release for your system: guix-binary-1.1.0.x86_64-linux
[1592662499.999]: [ INFO ] Downloading Guix release archive
guix-binary-1.1.0.x 100%[===================>] 70,14M 1,25MB/s in 56s
guix-binary-1.1.0.x 100%[===================>] 833 --.-KB/s in 0s
[1592662556.658]: [ PASS ] download completed.
[1592662557.661]: [ PASS ] Signature is valid.
[1592662567.792]: [ PASS ] unpacked archive
[1592662567.793]: [ INFO ] Installing /var/guix and /gnu...
[1592662567.799]: [ INFO ] Linking the root user's profile
[1592662567.806]: [ PASS ] activated root profile at /root/.config/guix/current
[1592662567.812]: [ INFO ] group guixbuild exists
[1592662567.822]: [ INFO ] user is already in the system, reset
[1592662567.849]: [ INFO ] user is already in the system, reset
[1592662567.873]: [ INFO ] user is already in the system, reset
[1592662567.902]: [ INFO ] user is already in the system, reset
[1592662567.923]: [ INFO ] user is already in the system, reset
[1592662567.944]: [ INFO ] user is already in the system, reset
[1592662567.964]: [ INFO ] user is already in the system, reset
[1592662567.983]: [ INFO ] user is already in the system, reset
[1592662568.002]: [ INFO ] user is already in the system, reset
[1592662568.026]: [ INFO ] user is already in the system, reset
Failed to start gnu-store.mount: Unit gnu-store.mount not found.
[1592662568.339]: [ INFO ] making the guix command available to other users
Permit downloading pre-built package binaries from the project's build farm? (yes/no) yes
guile: warning: failed to install locale
hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' package and
defining `GUIX_LOCPATH', along these lines:
guix package -i glibc-utf8-locales
export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
See the "Application Setup" section in the manual, for more info.
[1592662573.205]: [ PASS ] Authorized public key for ci.guix.gnu.org
[1592662573.210]: [ INFO ] cleaning up /tmp/user/0/guix.dXr
[1592662573.230]: [ PASS ] Guix has successfully been installed!
[1592662573.232]: [ INFO ] Run 'info guix' to read the manual.
Working now?
Also, a useful thread about guix on trisquel: