From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: bug#32183: New =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?pull=E2=80=99?= /root/.config/current/bin/guix: Permission denied Date: Wed, 17 Oct 2018 11:17:25 +0200 Message-ID: References: <20180723222855.osvahab6uo677nfd@thebird.nl> <87tvomxfzy.fsf@gnu.org> <871sacats5.fsf@gnu.org> <20180902142855.llzongao3kraunys@thebird.nl> <87efeb64z3.fsf@gnu.org> <20180906211033.nszav6ubctku737d@thebird.nl> <87zhwq91dc.fsf@gnu.org> <87zhwo9wcg.fsf@gnu.org> <20180911132313.7qtypjdc6y5ykjxd@thebird.nl> <20180911135839.kffwkj7hmwe3f2w5@thebird.nl> <87o9c030mj.fsf@gnu.org> <8ee7a13c-5c91-0165-4b4e-5c54ec1cc7c4@fastmail.net> <87o9bziapa.fsf@gnu.org> <28305e01-cf3e-0731-4aaf-34eb516fb958@fastmail.net> <87h8hnc8dr.fsf@gnu.org> <87tvlldktg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gChxu-00087v-C4 for bug-guix@gnu.org; Wed, 17 Oct 2018 05:18:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gChxq-00061I-Bh for bug-guix@gnu.org; Wed, 17 Oct 2018 05:18:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gChxq-000619-5i for bug-guix@gnu.org; Wed, 17 Oct 2018 05:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gChxp-0000lz-Vw for bug-guix@gnu.org; Wed, 17 Oct 2018 05:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87tvlldktg.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32183-done@debbugs.gnu.org Hi Ludo, > 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=E2=80=99t attempt to move your > generations to /var/guix/profiles, so it allows you to =E2=80=9Cjump over= =E2=80=9D 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. > It=E2=80=99s terrible that a function like this that looks trivial has be= en > causing so much trouble. Sorry about that. :-/ Lesson learned: avoid messing around with mutable state. How about creating a functional package manager? ;-) Konrad.