[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Root guix dereferencing
From: |
Thorsten Wilms |
Subject: |
Root guix dereferencing |
Date: |
Sat, 17 Nov 2018 12:17:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
Hi!
It took me embarrassingly long to understand that I have been updating
guix for the root profile numerous times without `sudo guix ...` ever
pointing to the latest version. This is on Ubuntu 18.04, so there's not
a full root account.
The state of things, bash output reduced to the relevant parts:
~: sudo ls -l /root/.guix-profile
/root/.guix-profile -> /var/guix/profiles/per-user/root/guix-profile
~: ls -l /var/guix/profiles/per-user/root/guix-profile
/var/guix/profiles/per-user/root/guix-profile -> guix-profile-3-link
~: ls -l /var/guix/profiles/per-user/root/guix-profile-3-link
/var/guix/profiles/per-user/root/guix-profile-3-link ->
/gnu/store/9gnbk30krxri2rnslpy9pjqrn0dgpzz9-profile
~: stat /gnu/store/9gnbk30krxri2rnslpy9pjqrn0dgpzz9-profile
Change: 2018-09-13 19:23:18.128577196 +0200
2018-09-13 seems to be the date of installation. The last `sudo guix
pull` happened yesterday.
~: sudo which guix
/usr/local/bin/guix
~: ls -l /usr/local/bin/guix
/usr/local/bin/guix ->
/var/guix/profiles/per-user/root/guix-profile/bin/guix
~: ls -l /var/guix/profiles/per-user/root/guix-profile/bin/guix
/var/guix/profiles/per-user/root/guix-profile/bin/guix ->
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
~: stat
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
Change: 2018-09-13 19:23:15.888610656 +0200
~: sudo env | grep GUIX
<empty>
~: sudo env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
Puzzling to me: things are quite different after `sudo -i`:
address@hidden:~# which guix
/root/.guix-profile/bin/guix
address@hidden:~# ls -l /root/.guix-profile/bin/guix
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
address@hidden:~# stat
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
Change: 2018-09-13 19:23:15.888610656 +0200
address@hidden:~# env|grep GUIX
GUIX_LOCPATH=/root/.guix-profile/lib/locale
address@hidden:~# env|grep PATH
GUIX_LOCPATH=/root/.guix-profile/lib/locale
PATH=/root/.guix-profile/bin:/root/.guix-profile/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
How may I fix my installation?
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
- Root guix dereferencing,
Thorsten Wilms <=
- Re: Root guix dereferencing, Leo Famulari, 2018/11/18
- Re: Root guix dereferencing, Thorsten Wilms, 2018/11/19
- Re: Root guix dereferencing, Clément Lassieur, 2018/11/19
- Re: Root guix dereferencing, Thorsten Wilms, 2018/11/19
- Re: Root guix dereferencing, Clément Lassieur, 2018/11/19
- Re: Root guix dereferencing, Thorsten Wilms, 2018/11/19
- Re: Root guix dereferencing, Clément Lassieur, 2018/11/19
- Re: Root guix dereferencing, Thorsten Wilms, 2018/11/19
- Re: Root guix dereferencing, Clément Lassieur, 2018/11/19