help-guix
[Top][All Lists]
Advanced

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

Re: Root guix dereferencing


From: Thorsten Wilms
Subject: Re: Root guix dereferencing
Date: Mon, 19 Nov 2018 12:47:09 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 19/11/2018 11.20, Clément Lassieur wrote:

This is because the result of running guix pull is a profile available
under ~/.config/guix/current containing the latest Guix[1].

So you may need to make sure it is at the beginning of your search path.

Thanks, but the plain user `guix pull` works fine and ~/.config/guix/current is up-to-date.


[1]: 
https://www.gnu.org/software/guix/manual/en/html_node/Invoking-guix-pull.html

I note that this page doesn't contain "sudo" at all and "root" only once, in "For instance, when user root runs guix pull, this has no effect on the version of Guix that user alice sees, and vice versa.".

Thorsten Wilms <address@hidden> writes:

I tried all of these, each time with
--commit=0a41123f01d5d2466d6f533be3644ac8c9a2bdf9:

sudo guix pull
sudo -i guix pull
sudo -E
   guix pull

None of these changed what /usr/local/bin/guix and/or
/root/.guix-profile/bin/guix are pointing to.

I mixed -i and -E up, it was of course

sudo -E guix pull
sudo -i
  guix pull

That is, first attempt with -E, same as --preserve-env, then sudo -i to log into root before `guix pull`.


--
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/



reply via email to

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