help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`guix pull` fails after fresh install


From: Gabriel Wicki
Subject: `guix pull` fails after fresh install
Date: Sun, 18 Jul 2021 23:13:48 +0200

Hello Guix Community!


I ran into an issue after freshly installing Guix System.  When logged in
as a normal user, `guix pull` printed the following output:

Migrating profile generations to '/var/guix/profiles/per-user/user'...
guix pull: error: symlink: File exists: 
"/var/guix/profiles/per-user/user/current-guix"


`guix pull` was invoked before by root, but guix has not been called by the
unprivileged user before.


$ ls -l /var/guix/profiles/per-user/user/
total 0
lrwxrwxrwx 1 user users 19 Jul 18 22:13 current-guix -> current-guix-0-link
lrwxrwxrwx 1 user users 19 Jul 18 22:43 guix-profile -> guix-profile-2-link
lrwxrwxrwx 1 user users 51 Jul 18 22:23 guix-profile-1-link -> 
/gnu/store/skvmv3zpzd06pj0jq57m0xjvx0hdjnkr-profile
lrwxrwxrwx 1 user users 51 Jul 18 22:43 guix-profile-2-link -> 
/gnu/store/mzn60p0kd8kiwdj9qqan73664yn6b0s0-profile
-rw-r--r-- 1 user users  0 Jul 18 22:40 guix-profile.lock


I tried:

 * guix gc
 * guix gc -R
 * guix gc --referrers
 * guix gc --verify
 * guix gc --verify=repair

but to no avail.


Should I just delete current-guix?  Link it to my current profile?  Or the
system's profile?


Thanks in advance for your advice,

Gabriel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]