From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39195: guix pull switching between profiles/per-user and profiles/default Date: Sun, 19 Jan 2020 23:08:33 +0100 Message-ID: <87d0bfqeu6.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:49087) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itIki-0000NH-6y for bug-guix@gnu.org; Sun, 19 Jan 2020 17:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itIkg-0002us-4I for bug-guix@gnu.org; Sun, 19 Jan 2020 17:09:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itIkg-0002uf-0o for bug-guix@gnu.org; Sun, 19 Jan 2020 17:09:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1itIkf-0005dF-Qv for bug-guix@gnu.org; Sun, 19 Jan 2020 17:09:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Jimmy Thrasibule's message of "Sun, 19 Jan 2020 20:22:58 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Jimmy Thrasibule Cc: 39195@debbugs.gnu.org, jimmy@thrasibule.mx 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.