From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 19 17:08:44 2020 Received: (at 39195) by debbugs.gnu.org; 19 Jan 2020 22:08:44 +0000 Received: from localhost ([127.0.0.1]:44004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itIkO-0005cR-C7 for submit@debbugs.gnu.org; Sun, 19 Jan 2020 17:08:44 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1itIkM-0005cF-FM for 39195@debbugs.gnu.org; Sun, 19 Jan 2020 17:08:43 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1itIkH-0002eY-7J; Sun, 19 Jan 2020 17:08:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1itIkG-0001at-GP; Sun, 19 Jan 2020 17:08:36 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jimmy Thrasibule Subject: Re: bug#39195: guix pull switching between profiles/per-user and profiles/default References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Niv=C3=B4se?= an 228 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 19 Jan 2020 23:08:33 +0100 In-Reply-To: (Jimmy Thrasibule's message of "Sun, 19 Jan 2020 20:22:58 +0100") Message-ID: <87d0bfqeu6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39195 Cc: 39195@debbugs.gnu.org, jimmy@thrasibule.mx X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jimmy Thrasibule skribis: > For example after unpacking the store, the first ``guix pull`` will migra= te > the profile to ``profiles/default``: What do you mean by =E2=80=9Cunpacking the store=E2=80=9D? > The workaround is to link back the profile to ``per-user/root`` and delete > ``/var/guix/profiles/default/current-guix*``. After this action, any other > ``guix pull`` will run as expected. I believe /var/guix/profiles/default is used because neither $USER nor $LOGNAME were defined, right? This was fixed here: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Dc20ba18304ee63f01= 895f092bb51bc2a9ce3303b but it=E2=80=99s possible that you were running a version that lacks this f= ix. Also, there was a bug on Ubuntu where =E2=80=9Csudo guix pull=E2=80=9D woul= d misbehave: https://issues.guix.gnu.org/issue/36785 Perhaps that=E2=80=99s also what happened here? Thanks, Ludo=E2=80=99.