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


Message #109 received at 32183-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Konrad Hinsen <konrad.hinsen <at> fastmail.net>
Cc: 32183-done <at> debbugs.gnu.org
Subject: Re: bug#32183: New ‘guix pull’
 /root/.config/current/bin/guix: Permission denied
Date: Thu, 18 Oct 2018 01:06:54 +0200
Konrad Hinsen <konrad.hinsen <at> fastmail.net> skribis:

>> 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!
>
> I cannot try any more because I already used another workaround, meaning
> that my profiles are properly migrated.

Good.

>> It’s terrible that a function like this that looks trivial has been
>> causing so much trouble.  Sorry about that.  :-/
>
> Lesson learned: avoid messing around with mutable state. How about
> creating a functional package manager?  ;-)

That’s an idea worth pondering.  :-)

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.