From: myglc2 <myglc2@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 25444@debbugs.gnu.org
Subject: bug#25444: 'guix system init' on GuixSD w/ RAID target produces "guix system: error: failed to register"
Date: Wed, 18 Jan 2017 20:44:59 -0500 [thread overview]
Message-ID: <861svzj010.fsf@gmail.com> (raw)
In-Reply-To: <87fukkhy9g.fsf@gnu.org>
On 01/15/2017 at 20:19 Ludovic Courtès writes:
> myglc2 <myglc2@gmail.com> skribis:
>
>> On 01/14/2017 at 14:44 Ludovic Courtès writes:
>>
>>> Hi,
>>>
>>> myglc2 <myglc2@gmail.com> skribis:
>>>
>>>> root@g1 ~# guix system init system/g1.00.scm /mnt/md0
>>>> [...]
>>>> initializing operating system under '/mnt/md0'...
>>>> copying '/gnu/store/0m0clxj69xrxb76kyh3ral8lkfb0vx8c-linux-libre-4.9.2'...
>>>> In execvp of /usr/local/sbin/guix-register: No such file or directory
>>>
>>> The crux of the problem is this last line. It looks like the Guix
>>> installation is broken here.
>>>
>>> Could you check what happened to this ‘guix-register’ command?
>>
>> Thanks. I did a fresh guix pull and looked for guix-register. I couldn't
>> find it my PATH or in guix-latest. But I did find it in the globally
>> installed guix package.
>>
>> Then, just to be sure things hadn't magically fixed themselves, I reproduced
>> the crime ;-)
>
> [...]
>
>> copying '/gnu/store/1k2swlkbpf44d5fzgvrp5znafhw90xh7-grub-image.png'...
>> In execvp of /usr/local/sbin/guix-register: No such file or directory
>> guix system: error: failed to register '/gnu/store/1k2swlkbpf44d5fzgvrp5znafhw90xh7-grub-image.png' under '/mnt/md0'
>
> The problem is that somehow Guix is configured to look for
> /usr/local/sbin/guix-register (this location comes from
> guix/config.scm), but that file doesn’t exist.
>
> So you need to make /usr/local/sbin/guix-register a symlink to the right
> thing, or somehow fix the installation.
I was running guix built from Git checkout w/ clean working tree so I
don't know how my system got out of whack. The symlink approach worked
and the new system on new disks has ...
which guix-register
/run/current-system/profile/sbin/guix-register
... YEAH!! Happy camper George ;-)
next prev parent reply other threads:[~2017-01-19 1:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-14 4:30 bug#25444: 'guix system init' on GuixSD w/ RAID target produces "guix system: error: failed to register" myglc2
2017-01-14 13:44 ` Ludovic Courtès
2017-01-14 17:26 ` myglc2
2017-01-15 20:19 ` Ludovic Courtès
2017-01-19 1:44 ` myglc2 [this message]
2017-01-19 11:31 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=861svzj010.fsf@gmail.com \
--to=myglc2@gmail.com \
--cc=25444@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.