unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: George Clemmer <myglc2@gmail.com>
To: swedebugia <swedebugia@riseup.net>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: why does this system build but won't reconfigure?
Date: Mon, 05 Nov 2018 10:13:14 -0500	[thread overview]
Message-ID: <cucr2fz4kxh.fsf@gmail.com> (raw)
In-Reply-To: <be636572-38cb-dbf7-9667-c1650744ab2f@riseup.net>


swedebugia <swedebugia@riseup.net> writes:

> Hi
>
> On 2018-11-05 04:25, George Clemmer wrote:
>> Oh DUH! Never mind, I guess my 'sudo guix system reconfigure' is using
>> the ancient guix version installed in root. Arf!
>>
> Would it be a help to you if guix declared and printed the path to
> itself and version it is using when reconfiguring?
>
> That way you immediately see what is going on.

I think this would be helpful.

> Or maybe warned you that a newer guix is available but not used
> because of the $PATH?

Wouldn't this warning almost always be generated on a single user
machine since the user's guix is, almost always, newer than root's?

AIUI, the solution in general is to train the user to use 'sudo -E' with
guix "system admin" commands.

So maybe it would be good to add the recommendation to use 'sudo -E'
with these commands to the doc.

HTH - George

  reply	other threads:[~2018-11-05 15:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05  3:15 why does this system build but won't reconfigure? George Clemmer
2018-11-05  3:25 ` George Clemmer
2018-11-05  8:38   ` swedebugia
2018-11-05 15:13     ` George Clemmer [this message]
2018-11-05  9:45   ` Clément Lassieur
2018-11-05 14:11     ` George Clemmer

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=cucr2fz4kxh.fsf@gmail.com \
    --to=myglc2@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=swedebugia@riseup.net \
    /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).