From: Konrad Hinsen <konrad.hinsen@fastmail.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 32183-done@debbugs.gnu.org
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Tue, 16 Oct 2018 12:41:01 +0200 [thread overview]
Message-ID: <m1efcqxjgi.fsf@fastmail.net> (raw)
In-Reply-To: <87h8hnc8dr.fsf@gnu.org>
Hi Ludo,
> If you’re familiar with Dired in Emacs, I’d suggest opening
> /var/guix/profiles/per-user/root and fixing the symlink targets from
> there (with C-c C-q).
Done. And after rebooting, guix seems to work fine for root, including
the download phase. Meaning that I consider this bug fixed.
But there still seems to be some collateral damage, since I could not
use "guix pull" any more on my standard user account:
$ guix pull
Migrating profile generations to '/var/guix/profiles/per-user/hinsen'...
guix pull: error: rename-file: Invalid cross-device link
This looks like guix is trying to use a hard link instead of a symbolic
link somewhere. I found a way around which I describe here for the
benefit of others who might find themselves in the same situation:
- check out a local copy of the Guix repository
- configure and make as described in the manual
- ./pre-inst-env guix pull
That does the profile migration using the very latest code. After that
the standard guix command seems to work fine again.
Konrad.
next prev parent reply other threads:[~2018-10-16 10:42 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180717085541.g6nuycopf5kxoin7@thebird.nl>
[not found] ` <20180717191554.GA23234@jasmine.lan>
2018-07-17 22:28 ` bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied Ludovic Courtès
2018-07-23 22:28 ` Pjotr Prins
2018-07-26 13:50 ` Ludovic Courtès
2018-09-02 13:55 ` Ludovic Courtès
2018-09-02 14:28 ` Pjotr Prins
2018-09-02 20:04 ` Ludovic Courtès
2018-09-06 21:10 ` Pjotr Prins
2018-09-09 7:20 ` Pjotr Prins
2018-09-09 14:02 ` Pjotr Prins
2018-09-09 14:44 ` Ludovic Courtès
2018-09-11 9:34 ` Konrad Hinsen
2018-09-11 10:12 ` Ludovic Courtès
2018-09-11 13:23 ` Pjotr Prins
2018-09-11 13:58 ` Pjotr Prins
2018-09-11 14:27 ` Ludovic Courtès
2018-10-11 16:32 ` Ludovic Courtès
2018-10-12 6:59 ` Konrad Hinsen
2018-10-12 12:57 ` Ludovic Courtès
2018-10-15 11:59 ` Konrad Hinsen
2018-10-15 19:33 ` Ludovic Courtès
2018-10-16 10:41 ` Konrad Hinsen [this message]
2018-10-17 8:44 ` Ludovic Courtès
2018-10-17 9:17 ` Konrad Hinsen
2018-10-17 23:06 ` Ludovic Courtès
2018-11-02 14:38 ` swedebugia
2018-11-03 14:13 ` Ludovic Courtès
2018-10-14 18:12 ` Pjotr Prins
2018-09-11 14:26 ` Ludovic Courtès
2018-09-05 15:27 ` bug#32183: Me too! Konrad Hinsen
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=m1efcqxjgi.fsf@fastmail.net \
--to=konrad.hinsen@fastmail.net \
--cc=32183-done@debbugs.gnu.org \
--cc=ludo@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).