From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Pierre-Henry F." Subject: Re: Uninstall/Install Guix Date: Wed, 01 May 2019 13:48:45 +0000 Message-ID: References: <_S5ha4bYClxzdfIBMi3OGUw12pMzqMq0j74unq21lrORA6vMn-oBJjBEnK0JG_Q50T7HumMf7TMvEeXYJ8tYaP5lImWX26Q5W3x5cgdXgbQ=@phfrohring.com> <6My3lqpScYReeuAhtVUF3RMtrlV497b6jzUu9Bxyhq5S5_1YiEk91nAD48AWVLKMzPA3CCz8WzaQYozAc28PavzWnyVcY5AXMSAZphY8jtA=@phfrohring.com> Reply-To: "Pierre-Henry F." Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLpbV-0000h2-IW for help-guix@gnu.org; Wed, 01 May 2019 09:49:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLpbR-0003rK-MO for help-guix@gnu.org; Wed, 01 May 2019 09:48:57 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:15467) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hLpbO-0003p4-35 for help-guix@gnu.org; Wed, 01 May 2019 09:48:52 -0400 In-Reply-To: <6My3lqpScYReeuAhtVUF3RMtrlV497b6jzUu9Bxyhq5S5_1YiEk91nAD48AWVLKMzPA3CCz8WzaQYozAc28PavzWnyVcY5AXMSAZphY8jtA=@phfrohring.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "Pierre-Henry F." Cc: "help-guix\\\\@gnu.org" =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Wednesday, May 1, 2019 1:54 PM, Pierre-Henry F. = wrote: > > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original = Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 > On Wednesday, May 1, 2019 1:51 PM, Pierre-Henry F. contact@phfrohring.com= wrote: > > > =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Origina= l Message =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80= =90 > > On Wednesday, May 1, 2019 1:22 PM, Pierre-Henry F. contact@phfrohring.c= om wrote: > > > > > Hello and thank you for your reply! > > > > > > > Hello, > > > > > > > "Pierre-Henry F." contact@phfrohring.com skribis: > > > > > > > > I re-installed using the script at the same address above... but = I keep having a few issues. > > > > > Here is the list of commands that are not expected to give errors= or warnings but do: > > > > > phf@2eb0:~$ guix refresh > > > > > Backtrace: > > > > > 15 (apply-smob/1 #) > > > > > In ice-9/boot-9.scm: > > > > > 705:2 14 (call-with-prompt _ _ #) > > > > > In ice-9/eval.scm: > > > > > 619:8 13 (_ #(#(#))) > > > > > In guix/ui.scm: > > > > > 1603:12 12 (run-guix-command _ . ) > > > > > In ice-9/boot-9.scm: > > > > > 829:9 11 (catch srfi-34 # =E2=80=A6) > > > > > 829:9 10 (catch system-error # =E2=80=A6) > > > > > In guix/scripts/refresh.scm: > > > > > 463:12 9 ()In srfi/srfi-1.scm: > > > > > 640:9 8 (for-each # =E2=80=A6) > > > > > In guix/scripts/refresh.scm: > > > > > 241:2 7 (check-for-package-update # =E2=80=A6) > > > > > In guix/gnu-maintenance.scm: > > > > > 561:21 6 (latest-gnu-release ) > > > > > 546:16 5 ()In ice-9/boot-9.scm: > > > > > 829:9 4 (catch srfi-34 # =E2=80=A6) > > > > > In guix/http-client.scm: > > > > > 182:20 3 (_) > > > > > 88:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # = =E2=80=A6) > > > > > In guix/build/download.scm: > > > > > 403:4 1 (open-connection-for-uri _ #:timeout _ # _) > > > > > 301:6 0 (tls-wrap # _ # _) > > > > > guix/build/download.scm:301:6: In procedure tls-wrap: > > > > > X.509 certificate of 'ftp.gnu.org' could not be verified: > > > > > signer-not-found > > > > > invalid > > > > > > > To fix this, you would need to install the =E2=80=98nss-certs= =E2=80=99 package and/or > > > > set the relevant environment variables as described here: > > > > > > > https://gnu.org/software/guix/manual/fr/html_node/Reglages-applicat= ifs.html#Certificats-X_002e509-1 > > > > > > Yes! That worked! > > > > > > > > phf@2eb0:~$ export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale= " > > > > > phf@2eb0:~$ guix package -i glibc-utf8-locales > > > > > The following package will be upgraded: > > > > > glibc-utf8-locales 2.28 =E2=86=92 2.28 /gnu/store/94k5w17z54w25lg= p90czdqfv9m4hwzhq-glibc-utf8-locales-2.28 > > > > > substitute: guile: warning: failed to install locale > > > > > substitute: hint: Consider installing the `glibc-utf8-locales' or= `glibc-locales' package and > > > > > substitute: defining `GUIX_LOCPATH', along these lines: > > > > > substitute: > > > > > substitute: guix package -i glibc-utf8-locales > > > > > substitute: export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale= " > > > > > substitute: > > > > > substitute: See the "Application Setup" section in the manual, fo= r more info. > > > > > substitute: > > > > > substitute: > > > > > nothing to be done > > > > > > > You also need to run =E2=80=9Cguix package -i glibc-utf8-locales= =E2=80=9D as root to fix > > > > this (the upcoming version will avoid this issue altogether.) > > > > > > Yes! That worked=E2=80=A6 sometimes. > > > I did `$ guix pull; guix package -u` > > > And the lines appeared anyway: > > > substitute: hint: Consider installing the `glibc-utf8-locales' or`gli= bc-locales' package and > > > substitute: defining `GUIX_LOCPATH', along these lines: > > > substitute: > > > substitute: guix package -i glibc-utf8-locales > > > substitute: export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > > > > > > > phf@2eb0:packages$ guix pull -l > > > > > =E2=80=A6 > > > > > Generation 6 Apr 21 2019 19:17:09 (current) > > > > > guix f9fee46 > > > > > repository URL: https://git.savannah.gnu.org/git/guix.git > > > > > branch: master > > > > > commit: f9fee46ffbf392af22f732b83be7d4b31109e052 > > > > > phf 0772f40 > > > > > repository URL: /home/phf/tools/guix/packages > > > > > branch: master > > > > > commit: 0772f40789c7835bc830782f75a6222ee21d7576 > > > > > But, when I run: > > > > > phf@2eb0:packages$ guix package -s phf-mupdf > > > > > Nothing=E2=80=A6 when I was expecting a package description becau= se this package `phf-mupdf` > > > > > is defined in the `phf` channel: > > > > > > > > What does =E2=80=9Cguix package -A phf=E2=80=9D return? > > > > > > Nothing... As if`~/.config/guix/channels.scm` was ignored. > > > Also, `~/.config/guix/channels.scm`: > > > (append > > > (list > > > (channel > > > (name 'phf) > > > (url "/home/phf/tools/guix/packages"))) > > > %default-channels) > > > and /home/phf/tools/guix/packages: > > > total used in directory 32 available 118181068 > > > drwxr-xr-x 3 phf phf 4096 Apr 21 19:16 . > > > drwxr-xr-x 3 phf phf 4096 Mar 2 19:55 .. > > > -rw-r--r-- 1 phf phf 1155 Mar 4 00:20 freeglut-for-mupdf.scm > > > drwxr-xr-x 8 phf phf 4096 Apr 21 19:16 .git > > > -rw-r--r-- 1 phf phf 1155 Apr 21 19:14 mupdf-freeglut.scm > > > -rw-r--r-- 1 phf phf 874 Apr 21 19:15 mupdf.scm > > > -rw-r--r-- 1 phf phf 930 Mar 2 19:57 my-hello.scm > > > -rw-r--r-- 1 phf phf 871 Mar 4 00:05 my-mupdf.scm > > > and: > > > guix pull -l > > > Generation 1 May 01 2019 09:35:38 (current) > > > guix af74e43 > > > repository URL: https://git.savannah.gnu.org/git/guix.git > > > branch: origin/master > > > commit: af74e4350fc1b16fc9520ef8a455d911ad992b20 > > > Thanks, > > > PHF > > > > I'm guessing that it probably has to do something with this: > > phf@f02c:guix$ pwd > > /home/phf/.config/guix > > phf@f02c:guix$ ll > > total 12 > > drwxr-xr-x 2 phf phf 4096 May 1 13:47 ./ > > drwx------ 36 phf phf 4096 Apr 24 23:37 ../ > > -rw-r--r-- 1 phf phf 266 May 1 13:47 channels.scm > > lrwxrwxrwx 1 phf phf 37 May 1 09:35 current -> /home/phf/.config/guix/c= urrent-1-link/ > > lrwxrwxrwx 1 phf phf 51 May 1 09:35 current-1-link -> /gnu/store/2lnvsj= hia248j1glx6j736l2m7x12idg-profile/ > > Meaning: whatever is available should live in my profile. If it's not t= hen a possible reason is that my profile is messed up somehow. > > And this still does not work in the end... > > phf@f02c:guix$ sudo guix package -i glibc-utf8-locales > [sudo] password for phf: > /gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash:= warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) > guile: warning: failed to install locale > hint: Consider installing the `glibc-utf8-locales' or`glibc-locales' pack= age and defining `GUIX_LOCPATH', along these lines: > > guix package -i glibc-utf8-locales > export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > See the "Application Setup" section in the manual, for more info. > > The following package will be upgraded: > glibc-utf8-locales 2.27 -> 2.27 /gnu/store/mbns811n696fl7g060cx6jqjh75mlj= 8i-glibc-utf8-locales-2.27 > > nothing to be done > phf@f02c:guix$ echo $GUIX_LOCPATH > /home/phf/.guix-profile/lib/locale I tried to remove and re-install again but here what I get: phf@f02c:Downloads$ guix pull -l guix pull: error: stat: No such file or directory: "/var/guix/profiles/= per-user/phf/current-guix-1-link" phf@f02c:Downloads$ guix describe guix describe: error: failed to determine origin To uninstall: sudo systemctl stop guix-daemon.service sudo rm -rf /gnu sudo rm -rf /var/guix sudo rm -rf ~/.profile/guix sudo rm -rf /etc/guix To install: https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh Well... I really don't understand how all of that works.