all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Wilms <t_w_@freenet.de>
To: help-guix <help-guix@gnu.org>
Subject: Re: Root guix dereferencing
Date: Mon, 19 Nov 2018 12:47:09 +0100	[thread overview]
Message-ID: <dcf27d64-a7cf-fb53-c855-64f810401049@freenet.de> (raw)
In-Reply-To: <878t1pbc6t.fsf@lassieur.org>

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 <t_w_@freenet.de> 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	other threads:[~2018-11-19 12:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 11:17 Root guix dereferencing Thorsten Wilms
2018-11-18 23:06 ` Leo Famulari
2018-11-19  9:12   ` Thorsten Wilms
2018-11-19 10:20     ` Clément Lassieur
2018-11-19 11:47       ` Thorsten Wilms [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dcf27d64-a7cf-fb53-c855-64f810401049@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.
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.