From: Henk Katerberg <henk.katerberg@verum.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: RE: guix pull fails while Migrating profile generations
Date: Tue, 6 Nov 2018 12:24:19 +0000 [thread overview]
Message-ID: <c671518acde94cb184a26a900c7075fa@mx.verum.com> (raw)
In-Reply-To: <87sh0e8por.fsf@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/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 [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 <henk.katerberg@verum.com> 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’.
next prev parent reply other threads:[~2018-11-06 12:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 16:39 guix pull fails while Migrating profile generations Henk Katerberg
2018-11-06 10:29 ` Ludovic Courtès
2018-11-06 12:24 ` Henk Katerberg [this message]
2018-11-06 19:33 ` Thorsten Wilms
2018-11-07 12:15 ` Overview of Guix pull symlinks and thoroughly test it swedebugia
2018-11-07 15:04 ` guix pull fails while Migrating profile generations Thorsten Wilms
2018-11-07 17:40 ` Thorsten Wilms
2018-11-09 16:37 ` Ludovic Courtès
2018-11-09 18:27 ` Thorsten Wilms
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c671518acde94cb184a26a900c7075fa@mx.verum.com \
--to=henk.katerberg@verum.com \
--cc=help-guix@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.