From: Thorsten Wilms <t_w_@freenet.de>
To: help-guix <help-guix@gnu.org>
Subject: Root guix dereferencing
Date: Sat, 17 Nov 2018 12:17:58 +0100 [thread overview]
Message-ID: <984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de> (raw)
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`:
root@charly:~# which guix
/root/.guix-profile/bin/guix
root@charly:~# ls -l /root/.guix-profile/bin/guix
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
root@charly:~# stat
/gnu/store/xdgjm8slg17gvwqnask6y4fzz7shkf1p-guix-0.15.0-2.8bbb79c/bin/guix
Change: 2018-09-13 19:23:15.888610656 +0200
root@charly:~# env|grep GUIX
GUIX_LOCPATH=/root/.guix-profile/lib/locale
root@charly:~# 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/
next reply other threads:[~2018-11-17 11:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-17 11:17 Thorsten Wilms [this message]
2018-11-18 23:06 ` Root guix dereferencing Leo Famulari
2018-11-19 9:12 ` Thorsten Wilms
2018-11-19 10:20 ` Clément Lassieur
2018-11-19 11:47 ` Thorsten Wilms
2018-11-19 14:07 ` Clément Lassieur
2018-11-19 14:32 ` Thorsten Wilms
2018-11-19 15:06 ` Clément Lassieur
2018-11-19 17:08 ` Thorsten Wilms
2018-11-19 18:27 ` Clément Lassieur
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de \
--to=t_w_@freenet.de \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).