all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pierre-Henry F." <contact@phfrohring.com>
To: "Pierre-Henry F." <contact@phfrohring.com>
Cc: "help-guix\\\\@gnu.org" <help-guix@gnu.org>
Subject: Re: Uninstall/Install Guix
Date: Wed, 01 May 2019 11:54:36 +0000	[thread overview]
Message-ID: <6My3lqpScYReeuAhtVUF3RMtrlV497b6jzUu9Bxyhq5S5_1YiEk91nAD48AWVLKMzPA3CCz8WzaQYozAc28PavzWnyVcY5AXMSAZphY8jtA=@phfrohring.com> (raw)
In-Reply-To: <homMlI8mOuKDx2jSb8cITUGDMMfKPK-2b8Gx9Qsrydtm-2b1hVx4pjxYUVBNK9kd65JdI3AMfE70pPzsobiu00_EIL-NTucYikpudCoYvCY=@phfrohring.com>



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 1, 2019 1:51 PM, Pierre-Henry F. <contact@phfrohring.com> wrote:

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, May 1, 2019 1:22 PM, Pierre-Henry F. contact@phfrohring.com 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 #<catch-closure 22838e0>)
> > > > In ice-9/boot-9.scm:
> > > > 705:2 14 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
> > > > In ice-9/eval.scm:
> > > > 619:8 13 (_ #(#(#<directory (guile-user) 230e140>)))
> > > > In guix/ui.scm:
> > > > 1603:12 12 (run-guix-command _ . )
> > > > In ice-9/boot-9.scm:
> > > > 829:9 11 (catch srfi-34 #<procedure 2985120 at guix/ui.scm:615:…> …)
> > > > 829:9 10 (catch system-error #<procedure 22bcaf0 at guix/script…> …)
> > > > In guix/scripts/refresh.scm:
> > > > 463:12 9 ()In srfi/srfi-1.scm:
> > > > 640:9 8 (for-each #<procedure 298ea20 at guix/scripts/refresh.…> …)
> > > > In guix/scripts/refresh.scm:
> > > > 241:2 7 (check-for-package-update #<package acct@6.6.4 gnu/pac…> …)
> > > > 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 #<procedure 22bcaa0 at guix/http-client…> …)
> > > > In guix/http-client.scm:
> > > > 182:20 3 (_)
> > > > 88:25 2 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
> > > > In guix/build/download.scm:
> > > > 403:4 1 (open-connection-for-uri _ #:timeout _ # _)
> > > > 301:6 0 (tls-wrap #<closed: file 4836e70> _ # _)
> > > > 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 ‘nss-certs’ package and/or
> > > set the relevant environment variables as described here:
> >
> > > https://gnu.org/software/guix/manual/fr/html_node/Reglages-applicatifs.html#Certificats-X_002e509-1
> >
> > Yes! That worked!
> >
> > > > phf@2eb0:~$ export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> > > > phf@2eb0:~$ guix package -i glibc-utf8-locales
> > > > The following package will be upgraded:
> > > > glibc-utf8-locales 2.28 → 2.28 /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-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="$HOME/.guix-profile/lib/locale"
> > > > substitute:
> > > > substitute: See the "Application Setup" section in the manual, for more info.
> > > > substitute:
> > > > substitute:
> > > > nothing to be done
> >
> > > You also need to run “guix package -i glibc-utf8-locales” as root to fix
> > > this (the upcoming version will avoid this issue altogether.)
> >
> > Yes! That worked… sometimes.
> > I did `$ guix pull; guix package -u`
> > And the lines appeared anyway:
> > 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="$HOME/.guix-profile/lib/locale"
> >
> > > > phf@2eb0:packages$ guix pull -l
> > > > …
> > > > 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… when I was expecting a package description because this package `phf-mupdf`
> > > > is defined in the `phf` channel:
> > >
> > > What does “guix package -A phf” 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/current-1-link/
> lrwxrwxrwx 1 phf phf 51 May 1 09:35 current-1-link -> /gnu/store/2lnvsjhia248j1glx6j736l2m7x12idg-profile/
>
> Meaning: whatever is available should live in my profile. If it's not then 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' 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.


The following package will be upgraded:
   glibc-utf8-locales	2.27 -> 2.27	/gnu/store/mbns811n696fl7g060cx6jqjh75mlj8i-glibc-utf8-locales-2.27

nothing to be done
phf@f02c:guix$ echo $GUIX_LOCPATH
/home/phf/.guix-profile/lib/locale

  reply	other threads:[~2019-05-01 11:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21 14:41 Uninstall/Install Guix Pierre-Henry F.
2019-04-21 15:08 ` Pierre-Henry F.
2019-05-01 11:22   ` Pierre-Henry F.
2019-05-01 11:51     ` Pierre-Henry F.
2019-05-01 11:54       ` Pierre-Henry F. [this message]
2019-05-01 13:48         ` Pierre-Henry F.
2019-05-06  2:46           ` Chris Marusich
2019-05-06  7:01             ` Pierre-Henry F.
2019-04-21 16:25 ` Ludovic Courtès
     [not found]   ` <-BJtan4E4fJ9-lS2et_0I9hYVSkt4NNfqig3iMu5IxhAhGSTwnexasY7rqPw14tzTL1iLAaepXH5Ql2xs0I5DmT57cB7ocr8A0OWVswrY-E=@phfrohring.com>
     [not found]     ` <l8fEh8HKhtXnKgGLj1Kjgjq1YsDp4UK7Bp-dyIZ4lw8_CRyWo55AhrPSB5A-g4GGaZM6VojZmhgbZZij0sbLD-6kQx3J-D2a0b4lDlSIdik=@phfrohring.com>
2019-04-21 19:41       ` Pierre-Henry F.
2019-04-23 21:50         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6My3lqpScYReeuAhtVUF3RMtrlV497b6jzUu9Bxyhq5S5_1YiEk91nAD48AWVLKMzPA3CCz8WzaQYozAc28PavzWnyVcY5AXMSAZphY8jtA=@phfrohring.com' \
    --to=contact@phfrohring.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.