From: ludo@gnu.org (Ludovic Courtès)
To: myglc2 <myglc2@gmail.com>
Cc: 25444@debbugs.gnu.org
Subject: bug#25444: 'guix system init' on GuixSD w/ RAID target produces "guix system: error: failed to register"
Date: Sun, 15 Jan 2017 21:19:23 +0100 [thread overview]
Message-ID: <87fukkhy9g.fsf@gnu.org> (raw)
In-Reply-To: <86r345v9gh.fsf@gmail.com> (myglc2@gmail.com's message of "Sat, 14 Jan 2017 12:26:54 -0500")
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.
Does that make sense?
Ludo’.
next prev parent reply other threads:[~2017-01-15 20:20 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 [this message]
2017-01-19 1:44 ` myglc2
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=87fukkhy9g.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=25444@debbugs.gnu.org \
--cc=myglc2@gmail.com \
/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.