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/current-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 /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-link 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ès [[email protected]] Sent: Tuesday, November 6, 2018 11:29 AM To: Henk Katerberg Cc: [email protected] Subject: Re: guix pull fails while Migrating profile generations Hello, Henk Katerberg <[email protected]> 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-link > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-1-link -> > /gnu/store/qdw75jq1ca2yn5v2p2shsqzynx9kb4ry-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-2-link -> > /gnu/store/vq18fwd8h9c551iwjf2wdqdjiw7v6ga6-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:47 current-guix-3-link -> > /gnu/store/09c5qi053swrdsr4ydcm0f3xwpr3chl2-profile > lrwxrwxrwx 1 root root 51 Oct 23 10:49 current-guix-4-link -> > /gnu/store/9lpay121z4r07m76fqq75a31njgdcysp-profile > lrwxrwxrwx 1 root root 51 Oct 24 09:17 current-guix-5-link -> > /gnu/store/hi11y3myi2590ca7vkhilx12l6gd277s-profile > lrwxrwxrwx 1 root root 51 Oct 24 13:31 current-guix-6-link -> > /gnu/store/dc6d6ycff573s8rln1sks02nghccgwfx-profile It seems that everything was migrated and is OK, but ~/.config/guix/current still points to the “old” 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’.
