From: Tobias Geerinckx-Rice <me@tobias.gr>
To: Wolf <wolf@wolfsden.cz>
Cc: help-guix@gnu.org
Subject: Re: Few questions regarding the installation
Date: Sat, 17 Dec 2022 03:41:17 +0100 [thread overview]
Message-ID: <87y1r6d9fz.fsf@nckx> (raw)
In-Reply-To: <Y50G7LILgVP0BD6R@ws>
[-- Attachment #1: Type: text/plain, Size: 1868 bytes --]
Hi Wolf,
Wolf 写道:
> But it is not on the path:
>
> root@gnu ~# pvcreate
> bash: pvcreate: command not found
Indeed, lvm2(-static) wasn't actually installed on the
installation image!
Commit 0906ce7389c6654fa3d1b3b52c8330eff0256264 fixes that:
root@gnu ~# which pvcreate
/run/current-system/profile/sbin/pvcreate
> On IRC I was advised to try guix install lvm2-static, which does
> work
> (after sourcing the profile), however it does download the
> package
> from the internet.
The installer image was generated using ‘guix system image’ with
particular Guix version N. Hence, all packages inside that image
are those from Guix version N. (In Guix, there is no ‘package
repository’ distributed separately from the ‘package manager’.)
These packages include the image's ‘guix’ package itself.
Hence, the ‘guix’ you can run in the image will always be older
than the Guix that put lvm2-static in the image, and may contain
older versions of some packages.
You'll have Guix N's lvm2-static in /gnu/store, but ‘guix install
lvm2-static’ will install Guix N-1's version. They might match,
they might not. I guess here they didn't.
> That seems pointless, since I already have
> one
> locally (as seen in the output of find above), so I would prefer
> to
> use that one.
You can simply
root@gnu ~# guix install /gnu/store/84n[…]-lvm2-static-2.03.1
That might still download $things for $reasons, but they won't
include lvm2-static.
> Another question is how to undo the effect of running herd start
> cow-store /mnt. I did try the obvious (herd stop cow-store), but
> that
> does not seem to do the trick. So, how can I do it?
This I don't know either. I always just reboot.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2022-12-17 2:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-17 0:01 Few questions regarding the installation Wolf
2022-12-17 0:37 ` Felix Lechner via
2022-12-17 2:41 ` Tobias Geerinckx-Rice [this message]
2022-12-18 23:21 ` Wolf
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=87y1r6d9fz.fsf@nckx \
--to=me@tobias.gr \
--cc=help-guix@gnu.org \
--cc=wolf@wolfsden.cz \
/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.