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: Tue, 16 Oct 2018 12:41:01 +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> 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]:56622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gCMne-0000rX-Jc for bug-guix@gnu.org; Tue, 16 Oct 2018 06:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gCMna-0003t9-Gg for bug-guix@gnu.org; Tue, 16 Oct 2018 06:42:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gCMna-0003sf-CO for bug-guix@gnu.org; Tue, 16 Oct 2018 06:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gCMna-00075V-7Z for bug-guix@gnu.org; Tue, 16 Oct 2018 06:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h8hnc8dr.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, > If you=E2=80=99re familiar with Dired in Emacs, I=E2=80=99d suggest openi= ng > /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=20 - 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.