[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guix pull error: symlink
From: |
Chris Marusich |
Subject: |
Re: guix pull error: symlink |
Date: |
Sat, 15 Dec 2018 20:31:56 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Giovanni Biscuolo <address@hidden> writes:
> address@hidden:~$ guix pull
> Migrating profile generations to '/var/guix/profiles/per-user/gbiscuolo'...
> guix pull: error: symlink: File exists:
> "/var/guix/profiles/per-user/gbiscuolo/current-guix-1-link"
>
> please how can I fix this?
The failure message seems to indicate Guix failed while executing the
migrate-generations procedure (defined in guix/scripts/pull.scm).
Do symlinks like the following still exist on your system?
~/.config/guix/current-1-link
~/.config/guix/current-2-link
~/.config/guix/current-3-link
...
If so, you may be able to simply delete the following symlinks and then
run "guix pull" again:
/var/guix/profiles/per-user/gbiscuolo/current-guix-1-link
/var/guix/profiles/per-user/gbiscuolo/current-guix-2-link
/var/guix/profiles/per-user/gbiscuolo/current-guix-3-link
...
/var/guix/profiles/per-user/gbiscuolo/current
Of course, before deleting anything, please be sure to record each of
the symlinks, their permissions, and their targets so that you can undo
the deletion if necessary. Please be careful when deleting.
If all goes well, when you run "guix pull", Guix should automatically
migrate your profile generations successfully into the
/var/guix/profiles/per-user/gbiscuolo directory. After that, you won't
have to worry about it again (for the gbiscuolo user, at least).
> [1] maybe I mede some error using "sudo guix..." instead of the recommended
> "sudo -E guix..."
That could be. Hopefully my suggestion will help!
--
Chris
signature.asc
Description: PGP signature