all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `guix pull` fails after fresh install
@ 2021-07-18 21:13 Gabriel Wicki
  2021-08-19 22:56 ` Gabriel Wicki
  0 siblings, 1 reply; 3+ messages in thread
From: Gabriel Wicki @ 2021-07-18 21:13 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-19 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18 21:13 `guix pull` fails after fresh install Gabriel Wicki
2021-08-19 22:56 ` Gabriel Wicki
2021-08-19 23:00   ` Gabriel Wicki

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.