unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Henk Katerberg <henk.katerberg@verum.com>
Cc: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Re: guix pull fails while Migrating profile generations
Date: Tue, 06 Nov 2018 11:29:08 +0100	[thread overview]
Message-ID: <87sh0e8por.fsf@gnu.org> (raw)
In-Reply-To: <676164e0fe504d2c8ef075613c84ee8d@mx.verum.com> (Henk Katerberg's message of "Mon, 5 Nov 2018 16:39:33 +0000")

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’.

  reply	other threads:[~2018-11-06 10:37 UTC|newest]

Thread overview: 8+ 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 [this message]
2018-11-06 12:24   ` Henk Katerberg
2018-11-06 19:33   ` Thorsten Wilms
2018-11-07 15:04     ` 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sh0e8por.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=henk.katerberg@verum.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).