From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henk Katerberg Subject: RE: guix pull fails while Migrating profile generations Date: Tue, 6 Nov 2018 12:24:19 +0000 Message-ID: References: <676164e0fe504d2c8ef075613c84ee8d@mx.verum.com>, <87sh0e8por.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gK0PY-0007w0-8U for help-guix@gnu.org; Tue, 06 Nov 2018 07:24:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gK0PS-0006Bo-Cw for help-guix@gnu.org; Tue, 06 Nov 2018 07:24:47 -0500 Received: from mx.verum.com ([31.223.170.65]:59108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gK0PF-0005xg-FI for help-guix@gnu.org; Tue, 06 Nov 2018 07:24:35 -0500 In-Reply-To: <87sh0e8por.fsf@gnu.org> 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" To: =?Windows-1252?Q?Ludovic_Court=E8s?= Cc: "help-guix@gnu.org" Hi Ludo, root@stoeptegel ~/.config/guix# ls -al total 8 drwxr-xr-x 2 root root 4096 Nov 6 08:55 ./ drwxr-xr-x 3 root root 4096 Oct 19 13:33 ../ lrwxrwxrwx 1 root root 33 Oct 25 09:16 current -> /root/.config/guix/curr= ent-1-link I have since performed the following steps: cd /var/guix/profiles/per-user/root rm current-guix-1-link rm current-guix-2-link rm current-guix-3-link rm current-guix-4-link rm current-guix-5-link rm current-guix-6-link rm current-guix=20 /run/current-system/profile/bin/guix pull That pull no longer complained and seems to have been successfull: root@stoeptegel ~/.config/guix# ls -al total 8 drwxr-xr-x 2 root root 4096 Nov 6 09:01 ./ drwxr-xr-x 3 root root 4096 Oct 19 13:33 ../ lrwxrwxrwx 1 root root 45 Nov 6 09:01 current -> /var/guix/profiles/per-= user/root/current-guix root@stoeptegel ~# ls -al /var/guix/profiles/per-user/root total 8 drwxr-xr-x 2 root root 4096 Nov 6 10:57 ./ drwxrwxrwt 5 root root 4096 Nov 6 08:54 ../ lrwxrwxrwx 1 root root 19 Nov 6 09:59 current-guix -> current-guix-2-lin= k lrwxrwxrwx 1 root root 51 Nov 6 09:59 current-guix-2-link -> /gnu/store/= 17mlp6dhc65mpqrm2x0w7p45znqxcfhs-profile The machine is currently performing a guix system reconfigure. So, I think = I've recovered. Unfortunately, I have no way of reproducing the erroneous situation. I have= experienced the problem on two distinct GuixSD installations and got there= throught normal guix commands (no manual tinkering). Regards, Henk ________________________________________ From: Ludovic Court=E8s [ludo@gnu.org] Sent: Tuesday, November 6, 2018 11:29 AM To: Henk Katerberg Cc: help-guix@gnu.org Subject: Re: guix pull fails while Migrating profile generations Hello, Henk Katerberg skribis: > # guix pull > Migrating profile generations to '/var/guix/profiles/per-user/root'... > guix pull: error: symlink: File exists: "/var/guix/profiles/per-user/root= /current-guix-1-link" > > # ls -al /var/guix/profiles/per-user/root > total 8 > drwxr-xr-x 2 root root 4096 Oct 24 13:31 ./ > drwxrwxrwt 4 root root 4096 Oct 19 13:13 ../ > lrwxrwxrwx 1 root root 19 Oct 24 13:31 current-guix -> current-guix-6-l= ink > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-1-link -> /gnu/stor= e/qdw75jq1ca2yn5v2p2shsqzynx9kb4ry-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-2-link -> /gnu/stor= e/vq18fwd8h9c551iwjf2wdqdjiw7v6ga6-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-3-link -> /gnu/stor= e/09c5qi053swrdsr4ydcm0f3xwpr3chl2-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:49 current-guix-4-link -> /gnu/stor= e/9lpay121z4r07m76fqq75a31njgdcysp-profile > lrwxrwxrwx 1 root root 51 Oct 24 09:17 current-guix-5-link -> /gnu/stor= e/hi11y3myi2590ca7vkhilx12l6gd277s-profile > lrwxrwxrwx 1 root root 51 Oct 24 13:31 current-guix-6-link -> /gnu/stor= e/dc6d6ycff573s8rln1sks02nghccgwfx-profile It seems that everything was migrated and is OK, but ~/.config/guix/current still points to the =93old=94 target no? Could you make sure you have something similar to this: $ readlink ~/.config/guix/current /var/guix/profiles/per-user/ludo/current-guix ? HTH! Ludo=92.