unofficial mirror of help-guix@gnu.org 
 help / color / Atom feed
* Problem with guix pull and symlink
@ 2020-06-23 22:28 Zelphir Kaltstahl
  0 siblings, 0 replies; only message in thread
From: Zelphir Kaltstahl @ 2020-06-23 22:28 UTC (permalink / raw)
  To: help-guix

Hello Guix Users!

Since recently I see the following message on `guix pull` as normal user:

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

And if I do:

$ unlink /var/guix/profiles/per-user/xiaolong/current-guix

And then try to do `guix pull` again, I get:

Migrating profile generations to '/var/guix/profiles/per-user/xiaolong'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
guix pull: error: Git error: failed open - '/home/xiaolong/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq/.git/FETCH_HEAD' is locked: Permission denied

I don't know how to fix this. I know I recently updated my root profile
running `guix pull` as root user. Perhaps that was wrong? For example:
https://www.mail-archive.com/help-guix@gnu.org/msg09356.html mentions
that one should not do so, but I only found that later and I did need to
update the locales packages in my root profile.

What should I do now, to get back to normal state?

Regards,
Zelphir


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-23 22:28 Problem with guix pull and symlink Zelphir Kaltstahl

unofficial mirror of help-guix@gnu.org 

Archives are clonable:
	git clone --mirror https://yhetil.org/guix-user/0 guix-user/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-user guix-user/ https://yhetil.org/guix-user \
		help-guix@gnu.org
	public-inbox-index guix-user

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.user
	nntp://news.gmane.io/gmane.comp.gnu.guix.user


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git