GNU bug report logs - #32183
New ‘guix pull’ /root/.config/current/bin/guix: Permission denied

Previous Next

Package: guix;

Reported by: Pjotr Prins <pjotr.public12 <at> thebird.nl>

Date: Tue, 17 Jul 2018 08:57:02 UTC

Severity: important

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 32183-done <at> debbugs.gnu.org
Subject: bug#32183: New ‘guix pull’ /root/.config/current/bin/guix: Permission denied
Date: Wed, 17 Oct 2018 10:44:11 +0200
Hello Konrad,

Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:

> 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 was fixed in a subsequent commit:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?id=8036b0942b89022147aaf9cd9940988fdbcc19ef

To work around it, you can pull from an older generation, along these
lines:

  ~/.config/guix/current-42-link/bin/guix pull

(This will work because this older guix won’t attempt to move your
generations to /var/guix/profiles, so it allows you to “jump over” the
bug.)

Let me know how it goes!

It’s terrible that a function like this that looks trivial has been
causing so much trouble.  Sorry about that.  :-/

Ludo’.




This bug report was last modified 6 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.