help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninstall/Install Guix


From: Pierre-Henry F.
Subject: Re: Uninstall/Install Guix
Date: Sun, 21 Apr 2019 19:41:37 +0000

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

> On Sunday, April 21, 2019 6:25 PM, Ludovic Courtès address@hidden wrote:
>
> > Hello Pierre-Henry,
> > (Tu peux aussi t’exprimer en français si tu préfères.)
> > "Pierre-Henry F." address@hidden 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:
> address@hidden:~$ 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 address@hidden 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
> address@hidden:~$ export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
> address@hidden:~$ 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
> address@hidden:~$ guix describe
> guix describe: error: failed to determine origin
> Thx!

Also:

address@hidden: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:

address@hidden: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)))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]