From mboxrd@z Thu Jan 1 00:00:00 1970 From: Diego Nicola Barbato Subject: bug#30370: guix system init can't find guix-register Date: Fri, 09 Feb 2018 11:26:50 +0100 Message-ID: <87r2pu5uhh.fsf@GlaDOS.home> References: <87po5icam9.fsf@GlaDOS.home> <87shabvbdb.fsf@gnu.org> <87tvursc9j.fsf@GlaDOS.home> <87fu6bta51.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]:60347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek5ua-0007rk-O7 for bug-guix@gnu.org; Fri, 09 Feb 2018 05:28:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ek5uU-0001Sz-RU for bug-guix@gnu.org; Fri, 09 Feb 2018 05:28:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:55052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ek5uU-0001Ss-MP for bug-guix@gnu.org; Fri, 09 Feb 2018 05:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ek5uU-0002Nf-Gc for bug-guix@gnu.org; Fri, 09 Feb 2018 05:28:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87fu6bta51.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 08 Feb 2018 23:00:10 +0100") 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: 30370@debbugs.gnu.org Hello, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hello, > > Diego Nicola Barbato skribis: > >> Betriebssystem unter =C2=BB/mnt=C2=AB wird initialisiert =E2=80=A6 >> In execvp of /gnu/store/d4wwx93gqizx132zjk7h1ir7rzph0pig-guix-0.12.0-10.= ba2260d/sbin/guix-register: Datei oder Verzeichnis nicht gefunden >> guix system: error: failed to register '/gnu/store/2g4dzfcs6nf906d7jl6q2= 25llmnv7krl-linux-libre-4.15' under '/mnt' >> copying to '/mnt'... >> >> It does not matter that it is a loopback device. The same thing happens >> if I try to install it on a USB flash drive. >> The issue seems to be that there is no >> d4wwx93gqizx132zjk7h1ir7rzph0pig-guix-0.12.0-10.ba2260d/ >> in my store. All I could find was this: >> 80k8kz7qk9palbn0ccw7y3fgym8jxlps-guix-0.12.0-10.ba2260d/ > > Could you try to figure out where that > d4wwx93gqizx132zjk7h1ir7rzph0pig-guix-0.12.0-10.ba2260d comes from? I could not figure out where this comes from. As I mentioned it is not in my store, yet (only) "guix system init" seems to look for it. > Also, current master is at 0.14.0*, so it=E2=80=99s surprising that you e= nd up > using such an old version. It is indeed quite surprising. Especially since "type -P guix-register" returns "/run/current-system/profile/sbin/guix-register" which links to "/gnu/store/b5hfsdq8yzcqfvikfhm0gk95xa5pfwgy-guix-0.14.0-7.33988f9/sbin/gui= x-register" and "type -P guix" returns "/run/current-system/profile/bin/guix" which lin= ks to "/gnu/store/b5hfsdq8yzcqfvikfhm0gk95xa5pfwgy-guix-0.14.0-7.33988f9/bin/guix" (for both my user and root). > Could it be that ~root/.config/guix/latest points to that old Guix? It did not (I ran "guix pull" as user and as root last Friday, 2018-02-02). And now after running "guix pull" again (as both user and root) ~root/.config/guix/latest and ~/.config/guix/latest point to /gnu/store/a565qard9xc0f0mg0vlbsrn419qgwfp9-guix-latest. > Does =E2=80=9Csudo guix pull=E2=80=9D help? Unfortunately "sudo guix pull" and "guix pull" did not help either. The error persists even after running "guix system reconfigure /etc/config.scm" and rebooting. Greetings Diego