From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Clemmer Subject: Re: why does this system build but won't reconfigure? Date: Mon, 05 Nov 2018 10:13:14 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJgZ8-0002Hn-86 for help-guix@gnu.org; Mon, 05 Nov 2018 10:13:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJgZ5-0004Ws-Cg for help-guix@gnu.org; Mon, 05 Nov 2018 10:13:22 -0500 Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]:35839) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJgZ5-0004Ey-0t for help-guix@gnu.org; Mon, 05 Nov 2018 10:13:19 -0500 Received: by mail-qk1-x72b.google.com with SMTP id v68-v6so15262737qka.2 for ; Mon, 05 Nov 2018 07:13:18 -0800 (PST) In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: swedebugia Cc: help-guix swedebugia 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