From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Wilms Subject: Re: Root guix dereferencing Date: Mon, 19 Nov 2018 10:12:38 +0100 Message-ID: References: <984d7a13-05d6-0f05-17ea-57d2858c016c@freenet.de> <20181118230629.GD25252@jasmine.lan> Reply-To: t_w_@freenet.de Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOfeA-0008RK-MO for help-guix@gnu.org; Mon, 19 Nov 2018 04:15:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOfe6-00082H-PW for help-guix@gnu.org; Mon, 19 Nov 2018 04:15:10 -0500 Received: from mout3.freenet.de ([195.4.92.93]:40020) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gOfe6-00081j-Ih for help-guix@gnu.org; Mon, 19 Nov 2018 04:15:06 -0500 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout3.freenet.de with esmtpa (ID t_w_@freenet.de) (port 25) (Exim 4.90_1 #2) id 1gOfe2-0003hZ-6R for help-guix@gnu.org; Mon, 19 Nov 2018 10:15:02 +0100 Received: from [::1] (port=46024 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gOfe2-0000NU-5Y for help-guix@gnu.org; Mon, 19 Nov 2018 10:15:02 +0100 Received: from sub4.freenet.de ([195.4.92.123]:34046) by mjail0.freenet.de with esmtpa (ID t_w_@freenet.de) (Exim 4.90_1 #2) id 1gOfbj-0006OB-LC for help-guix@gnu.org; Mon, 19 Nov 2018 10:12:39 +0100 Received: from p200300e4f3eeb30028782e6204afb5e9.dip0.t-ipconnect.de ([2003:e4:f3ee:b300:2878:2e62:4af:b5e9]:56790) by sub4.freenet.de with esmtpsa (ID t_w_@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.90_1 #2) id 1gOfbj-0003VK-Il for help-guix@gnu.org; Mon, 19 Nov 2018 10:12:39 +0100 In-Reply-To: <20181118230629.GD25252@jasmine.lan> Content-Language: en-US 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" Cc: help-guix On 19/11/2018 00.06, Leo Famulari wrote: > Can you help us by clarifying exactly what is wrong? > > In general, using sudo without either the --preserve-env or --login > options is not recommended, because it won't do what you want in any > case where environment variables are involved. /usr/local/bin/guix and /root/.guix-profile/bin/guix keep pointing to the original guix installation. 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. -- Thorsten Wilms thorwil's design for free software: http://thorwil.wordpress.com/