all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Uninstall/Install Guix
@ 2019-04-21 14:41 Pierre-Henry F.
  2019-04-21 15:08 ` Pierre-Henry F.
  2019-04-21 16:25 ` Ludovic Courtès
  0 siblings, 2 replies; 11+ messages in thread
From: Pierre-Henry F. @ 2019-04-21 14:41 UTC (permalink / raw)
  To: help-guix\@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2671 bytes --]

Dear list,

I've unfortunatly done the equivalent of $ rm /usr/local/bin/guix

I've then tried to re-install guix by:
  removing /gnu
  removing /var/guix
  executing the install script given here: https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation

It does not work … How to solve these issues?

Thx,
PH

* I encounter much problems with Guix since then:

> phf@2eb0:~$ guix pull -l
> guix pull: error: stat: No such file or directory: "/var/guix/profiles/per-user/phf/current-guix-1-link"

> 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
> 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

> phf@2eb0:~$ guix describe
> guix describe: error: failed to determine origin

* Configuration:

> phf@2eb0:~$ guix --version
> guix (GNU Guix) 0.16.0
> Copyright (C) 2018 the Guix authors
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.

> phf@2eb0:~$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 18.04.2 LTS
> Release: 18.04
> Codename: bionic

> phf@2eb0:~$ uname -arv
> Linux 2eb0 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

[-- Attachment #2: Type: text/html, Size: 4239 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  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-04-21 16:25 ` Ludovic Courtès
  1 sibling, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-04-21 15:08 UTC (permalink / raw)
  To: help-guix\@gnu.org

[-- Attachment #1: Type: text/plain, Size: 4224 bytes --]

Also, if it's of any help:

> phf@2eb0:~$ echo $GUIX_LOCPATH

> /home/phf/.guix-profile/lib/locale

> phf@2eb0:~$ locale

> LANG=fr_FR.UTF-8

> LANGUAGE=fr_FR.UTF-8

> LC_CTYPE="fr_FR.UTF-8"

> LC_NUMERIC="fr_FR.UTF-8"

> LC_TIME="fr_FR.UTF-8"

> LC_COLLATE="fr_FR.UTF-8"

> LC_MONETARY="fr_FR.UTF-8"

> LC_MESSAGES="fr_FR.UTF-8"

> LC_PAPER="fr_FR.UTF-8"

> LC_NAME="fr_FR.UTF-8"

> LC_ADDRESS="fr_FR.UTF-8"

> LC_TELEPHONE="fr_FR.UTF-8"

> LC_MEASUREMENT="fr_FR.UTF-8"

> LC_IDENTIFICATION="fr_FR.UTF-8"

> LC_ALL=fr_FR.UTF-8

> phf@2eb0:~$ guix package -i glibc-utf8-locales

> Le paquet suivant sera mis à jour :

>    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:

> aucune action à faire

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Sunday, April 21, 2019 4:41 PM, Pierre-Henry F. <contact@phfrohring.com> wrote:

> Dear list,
>
> I've unfortunatly done the equivalent of $ rm /usr/local/bin/guix
>
> I've then tried to re-install guix by:
>
>   removing /gnu
>
>   removing /var/guix
>
>   executing the install script given here: https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation
>
> It does not work … How to solve these issues?
>
> Thx,
>
> PH
>
> * I encounter much problems with Guix since then:
>
>> phf@2eb0:~$ guix pull -l
>
>> guix pull: error: stat: No such file or directory: "/var/guix/profiles/per-user/phf/current-guix-1-link"
>
>> 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
>
>> 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
>
>> phf@2eb0:~$ guix describe
>
>> guix describe: error: failed to determine origin
>
> * Configuration:
>
>> phf@2eb0:~$ guix --version
>
>> guix (GNU Guix) 0.16.0
>
>> Copyright (C) 2018 the Guix authors
>
>> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>
>> This is free software: you are free to change and redistribute it.
>
>> There is NO WARRANTY, to the extent permitted by law.
>
>> phf@2eb0:~$ lsb_release -a
>
>> No LSB modules are available.
>
>> Distributor ID: Ubuntu
>
>> Description: Ubuntu 18.04.2 LTS
>
>> Release: 18.04
>
>> Codename: bionic
>
>> phf@2eb0:~$ uname -arv
>
>> Linux 2eb0 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

[-- Attachment #2: Type: text/html, Size: 26057 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-04-21 14:41 Uninstall/Install Guix Pierre-Henry F.
  2019-04-21 15:08 ` Pierre-Henry F.
@ 2019-04-21 16:25 ` Ludovic Courtès
       [not found]   ` <-BJtan4E4fJ9-lS2et_0I9hYVSkt4NNfqig3iMu5IxhAhGSTwnexasY7rqPw14tzTL1iLAaepXH5Ql2xs0I5DmT57cB7ocr8A0OWVswrY-E=@phfrohring.com>
  1 sibling, 1 reply; 11+ messages in thread
From: Ludovic Courtès @ 2019-04-21 16:25 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix@gnu.org

Hello Pierre-Henry,

(Tu peux aussi t’exprimer en français si tu préfères.)

"Pierre-Henry F." <contact@phfrohring.com> skribis:

> I've then tried to re-install guix by:
>   removing /gnu
>   removing /var/guix

To be complete, you’d also need to remove /etc/guix.  However, it
shouldn’t be a problem to leave it.

>   executing the install script given here: https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation
>
> It does not work … How to solve these issues?

Can you explain what does not work?  Please provide the command that you
run, the output that you got, and explain what you were expecting.

Thank you,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
       [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
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-04-21 19:41 UTC (permalink / raw)
  To: help-guix\@gnu.org

> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

> On Sunday, April 21, 2019 6:25 PM, Ludovic Courtès ludo@gnu.org wrote:
>
> > Hello Pierre-Henry,
> > (Tu peux aussi t’exprimer en français si tu préfères.)
> > "Pierre-Henry F." contact@phfrohring.com skribis:
> >
> > > I've then tried to re-install guix by:
> > > removing /gnu
> > > removing /var/guix
> >
> > To be complete, you’d also need to remove /etc/guix. However, it
> > shouldn’t be a problem to leave it.
> >
> > > executing the install script given here: https://www.gnu.org/software/guix/manual/en/html_node/Binary-Installation.html#Binary-Installation
> > > It does not work … How to solve these issues?
> >
> > Can you explain what does not work? Please provide the command that you
> > run, the output that you got, and explain what you were expecting.
> > Thank you,
> > Ludo’.
>
> Merci beaucoup Ludovic de regarder ça!
> I installed Guix using a while back (v0.15) using the script on the website:
> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
> Today, for some reason, I managed to `$ rm /usr/local/bin/guix`.
> Commands stopped working to decided to re-install Guix by:
> removing /gnu
> removing /var/guix
> 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
> 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
> phf@2eb0:~$ guix describe
> guix describe: error: failed to determine origin
> Thx!

Also:

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:

/home/phf/.config/guix/channels.scm
(append

(list
(channel
(name 'phf)
(url "/home/phf/tools/guix/packages")))

%default-channels)

/home/phf/tools/guix/packages/mupdf.scm

(define-module (phf mupdf)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (phf mupdf-freeglut)
#:use-module (gnu packages pdf)
#:use-module (gnu packages curl)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages xorg)
#:use-module (gnu packages javascript)
#:use-module (gnu packages tls)
#:use-module (gnu packages compression))

(define-public phf-mupdf
(package
(inherit mupdf)
(name "phf-mupdf")
(inputs
`(("curl" ,curl)
("freeglut" ,phf-mupdf-freeglut)
("freetype" ,freetype)
("harfbuzz" ,harfbuzz)
("jbig2dec" ,jbig2dec)
("libjpeg" ,libjpeg)
("libx11" ,libx11)
("libxext" ,libxext)
("mujs" ,mujs)
("openjpeg" ,openjpeg)
("openssl" ,openssl)
("zlib" ,zlib)))))

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-04-21 19:41       ` Pierre-Henry F.
@ 2019-04-23 21:50         ` Ludovic Courtès
  0 siblings, 0 replies; 11+ messages in thread
From: Ludovic Courtès @ 2019-04-23 21:50 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix@gnu.org

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

>> 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.)

> 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?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-04-21 15:08 ` Pierre-Henry F.
@ 2019-05-01 11:22   ` Pierre-Henry F.
  2019-05-01 11:51     ` Pierre-Henry F.
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-05-01 11:22 UTC (permalink / raw)
  To: help-guix\@gnu.org, Ludovic Courtès

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-05-01 11:22   ` Pierre-Henry F.
@ 2019-05-01 11:51     ` Pierre-Henry F.
  2019-05-01 11:54       ` Pierre-Henry F.
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-05-01 11:51 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix\\@gnu.org

‐‐‐‐‐‐‐ 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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-05-01 11:51     ` Pierre-Henry F.
@ 2019-05-01 11:54       ` Pierre-Henry F.
  2019-05-01 13:48         ` Pierre-Henry F.
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-05-01 11:54 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix\\@gnu.org



‐‐‐‐‐‐‐ 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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-05-01 11:54       ` Pierre-Henry F.
@ 2019-05-01 13:48         ` Pierre-Henry F.
  2019-05-06  2:46           ` Chris Marusich
  0 siblings, 1 reply; 11+ messages in thread
From: Pierre-Henry F. @ 2019-05-01 13:48 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix\\@gnu.org


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

>
>
> ‐‐‐‐‐‐‐ 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


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.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-05-01 13:48         ` Pierre-Henry F.
@ 2019-05-06  2:46           ` Chris Marusich
  2019-05-06  7:01             ` Pierre-Henry F.
  0 siblings, 1 reply; 11+ messages in thread
From: Chris Marusich @ 2019-05-06  2:46 UTC (permalink / raw)
  To: Pierre-Henry F.; +Cc: help-guix\@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]

Hi Pierre-Henry,

"Pierre-Henry F." <contact@phfrohring.com> writes:

> 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.

Are you still having trouble, or were you able to resolve the issue?

I'm not sure what you meant in your last email.  Did you mean that you
ran the uninstall commands, followed by the guix-install.sh script, and
then when you ran "guix pull -l" you received the errors above?

         
-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Uninstall/Install Guix
  2019-05-06  2:46           ` Chris Marusich
@ 2019-05-06  7:01             ` Pierre-Henry F.
  0 siblings, 0 replies; 11+ messages in thread
From: Pierre-Henry F. @ 2019-05-06  7:01 UTC (permalink / raw)
  To: Chris Marusich; +Cc: help-guix\\\@gnu.org

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, May 6, 2019 4:46 AM, Chris Marusich <cmmarusich@gmail.com> wrote:

> Hi Pierre-Henry,
>
> "Pierre-Henry F." contact@phfrohring.com writes:
>
> > 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.
>
> Are you still having trouble, or were you able to resolve the issue?
>
> I'm not sure what you meant in your last email. Did you mean that you
> ran the uninstall commands, followed by the guix-install.sh script, and
> then when you ran "guix pull -l" you received the errors above?
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Chris


Hi Chris!

I ran the commands above and re-installed the whole thing for the 1.0 release ( congrats btw! :-) )
I bumped into two other things :

  Problem: `/var/nix/daemon-socket/socket': No such file or directory
  Solution: sudo systemctl restart guix-daemon.service

  Problem: something about unknown origin after fresh install and `guix describe`.
  Solution: pulled once and it disappeared

Apparently, it works just fine now. I'm slowly adding whatever package I need and using `guix environment`
for development. Now the question is: how does Guix play with other package managers ?
Let's say that you need to use racket packages or something else... what does it cost to the developer
to use exclusively Guix? Is it even possible at all?

PHF

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-05-06  7:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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.
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

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.