From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SAnZOZegn2PqfQAAbAwnHQ (envelope-from ) for ; Mon, 19 Dec 2022 00:22:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OHqWOZegn2OtSAAAauVa8A (envelope-from ) for ; Mon, 19 Dec 2022 00:21:59 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id AE489A950 for ; Mon, 19 Dec 2022 00:21:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p72yH-0007db-Nr; Sun, 18 Dec 2022 18:21:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p72yG-0007dR-A7 for help-guix@gnu.org; Sun, 18 Dec 2022 18:21:28 -0500 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p72yD-0007IF-ST for help-guix@gnu.org; Sun, 18 Dec 2022 18:21:27 -0500 Received: by wolfsden.cz (Postfix, from userid 104) id F37C824FEE5; Sun, 18 Dec 2022 23:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1671405679; bh=Sqhwp0csVdZtpayk3fH8V6FO6z/f8xN1xXDYCDLUPQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MCegEPbd6GSXD8fIzffey5/2+0/rK0GJWufWmHfZzeWWIM8JZpy7RJRI33S++jt7h 6aE+0lMzQDsx02f6XohJumLlrHAQd9JMXZJE0cCJ8NKNrnNiK3dtsZCmxoeWZgO07V uP33cMbcA1MJNWiUHR3l/SJ4U41UatIqUMFIqY8aOtTcLjbItvZ/O/15pwPZFfL6Ij isUtMUAwMYAqYFZ4Gqu9N4CTkZzR9JzYxG8VqqfBd86s3qiGaPkPKUfoxREnCvDTQ9 GOKY0YEBMKwllQvyTQltDc4Razqd32ba+bK8vSJ8fxoBYqmgEH9q0ZlPjqiXqurbFq JeLfLosCUqpUwouXAhLVq+T9AJX+ff11tmb9c2tEmywW3EIdZWwxxfHSojt+TS+LeM PGFgOHpk7WCoO5U+0ckLN8cJ8plF7ojKPAsPzciAFj+9zsK9CxqDb9KsPCQSNQ+3f7 k9YFiGfJeB0lZj9uE5VrGUY+pjAWlHhK5W+OODwjI7RNpTXijxyr+5iurzYzKxFawL aWNULAvjJQGxhbSiMtI+UqN39KD5g/UM6ulinrgkPXFOfMGgQUg1tvhSJ0HZ0K3DHX POl21HwdHyowJCnwaWVb/l7iOcvszD9w8WZbUB65VkPw7bncEoulGlYnAQmEhSuoW1 FjW5lVRhg4yZ/5vUwv9G4DQ8= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 3A6B924FFBE; Sun, 18 Dec 2022 23:21:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1671405679; bh=Sqhwp0csVdZtpayk3fH8V6FO6z/f8xN1xXDYCDLUPQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MCegEPbd6GSXD8fIzffey5/2+0/rK0GJWufWmHfZzeWWIM8JZpy7RJRI33S++jt7h 6aE+0lMzQDsx02f6XohJumLlrHAQd9JMXZJE0cCJ8NKNrnNiK3dtsZCmxoeWZgO07V uP33cMbcA1MJNWiUHR3l/SJ4U41UatIqUMFIqY8aOtTcLjbItvZ/O/15pwPZFfL6Ij isUtMUAwMYAqYFZ4Gqu9N4CTkZzR9JzYxG8VqqfBd86s3qiGaPkPKUfoxREnCvDTQ9 GOKY0YEBMKwllQvyTQltDc4Razqd32ba+bK8vSJ8fxoBYqmgEH9q0ZlPjqiXqurbFq JeLfLosCUqpUwouXAhLVq+T9AJX+ff11tmb9c2tEmywW3EIdZWwxxfHSojt+TS+LeM PGFgOHpk7WCoO5U+0ckLN8cJ8plF7ojKPAsPzciAFj+9zsK9CxqDb9KsPCQSNQ+3f7 k9YFiGfJeB0lZj9uE5VrGUY+pjAWlHhK5W+OODwjI7RNpTXijxyr+5iurzYzKxFawL aWNULAvjJQGxhbSiMtI+UqN39KD5g/UM6ulinrgkPXFOfMGgQUg1tvhSJ0HZ0K3DHX POl21HwdHyowJCnwaWVb/l7iOcvszD9w8WZbUB65VkPw7bncEoulGlYnAQmEhSuoW1 FjW5lVRhg4yZ/5vUwv9G4DQ8= Date: Mon, 19 Dec 2022 00:21:17 +0100 From: Wolf To: Tobias Geerinckx-Rice Cc: help-guix@gnu.org Subject: Re: Few questions regarding the installation Message-ID: Mail-Followup-To: Tobias Geerinckx-Rice , help-guix@gnu.org References: <87y1r6d9fz.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XxFGoiqGANoBSrBT" Content-Disposition: inline In-Reply-To: <87y1r6d9fz.fsf@nckx> Received-SPF: pass client-ip=37.205.8.62; envelope-from=wolf@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MCegEPbd; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MCegEPbd; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671405719; a=rsa-sha256; cv=none; b=tEG6SbdiDkdhd6qIWADLvBHTiEAf+8MtT2xFtUfcW6pSbsMG9DAZXaLqTIBJO6Bt67derB 22ZTHr3RQ1M4TVtFYdAfZY4gYb5w0vY5/RCnmT+EfRsun2LUMogU/MBeOv6Tt7kGjYm6RS YJBbK+QplGW8F4qHpSRS3/eiGhcWGIvpd9X60jHZwFj4ip7AJplOErO0/l9LIZTx6HhP38 dE8/32g53FDhz31+auygtHr+j8Aqgnr84gHGzmQ4azIdophN1yLQ/bVMJs33S7wrmjXEuM hgc/At2RfcIDsAU2kHCzybsw1dniXp20nkr7LV3VPPhjp6WOVhQpf+VWyeagFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671405719; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XntBE0WP9fBniGeSt3jKyrbCrvK4zeeeZCW8WM6U0n4=; b=ZVQed/cHPdxJEF/9EgsOox2ok0lTsrUzaiuz77jp8DjH/DEyn9dEp9o2Xtq/wDxx6YWt67 xgg7BLgefL3Rkmsi5WUXkgf0JAZ1eGuuiC4vuey5Ufby1Jcr96HjgO5NOp4KhTy1JhdoPm ZZjVU0N2munZ+cA86rhFWAEMrwuu+dqYmH/Do2xzQVzGTyffUtghbIRnutCugToYg+1x4w 2L1iTy9PIF6oPBCUs941Xdg1HB9FIL7FZzqUVGrrEtOZjJPrGkJk0CE1BAnk+5OShNNHEb auN0otyFwei8n4fpXkBgRyJq4H4e6/z6nB9AIQTITt5XCoulMFm+knDEaoLA5Q== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MCegEPbd; dkim=pass header.d=wolfsden.cz header.s=mail header.b=MCegEPbd; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -7.77 X-Spam-Score: -7.77 X-Migadu-Queue-Id: AE489A950 X-TUID: hQD+cs1QCS4d --XxFGoiqGANoBSrBT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On 2022-12-17 03:41:17 +0100, Tobias Geerinckx-Rice wrote: > Hi Wolf, >=20 > Wolf =E5=86=99=E9=81=93=EF=BC=9A > > But it is not on the path: > >=20 > > root@gnu ~# pvcreate > > bash: pvcreate: command not found >=20 > Indeed, lvm2(-static) wasn't actually installed on the installation image! >=20 > Commit 0906ce7389c6654fa3d1b3b52c8330eff0256264 fixes that: >=20 > root@gnu ~# which pvcreate > /run/current-system/profile/sbin/pvcreate Great, so since 1.5.0 this will be taken care of (since I do not see it in the 1.4.0 tree). >=20 > > 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. >=20 > The installer image was generated using =E2=80=98guix system image=E2=80= =99 with particular > Guix version N. Hence, all packages inside that image are those from Guix > version N. (In Guix, there is no =E2=80=98package repository=E2=80=99 di= stributed > separately from the =E2=80=98package manager=E2=80=99.) These packages in= clude the image's > =E2=80=98guix=E2=80=99 package itself. >=20 > Hence, the =E2=80=98guix=E2=80=99 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. >=20 > You'll have Guix N's lvm2-static in /gnu/store, but =E2=80=98guix install > lvm2-static=E2=80=99 will install Guix N-1's version. They might match, = they might > not. I guess here they didn't. Ah, based on this my understanding is that just the fact that something is in the store does not mean it is actually installed. It could be just a left over, or something pulled as a dependency. And since lvm2{,-static} is not actually installed, it is not symlinked into any usable path (even though is it present in the store). Is that roughly correct summary? Sorry, this is my first try at the guix/nix approach to things, so I want to be sure I understand it properly. >=20 > > 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. >=20 > You can simply >=20 > root@gnu ~# guix install /gnu/store/84n[=E2=80=A6]-lvm2-static-2.03.1 >=20 > That might still download $things for $reasons, but they won't include > lvm2-static. >=20 It seems to still download $things for $reasons (quite few of them, including mkfontscale for example). Since this is already resolved on the master, for now I'll go with # This should not longer be necessary since guix 1.5.0 if ! command -v pvcreate >/dev/null; then guix install lvm2-static GUIX_PROFILE=3D"/root/.guix-profile" . "$GUIX_PROFILE/etc/profile" fi and call it a day. I will make a note to try to figure out $reasons at some later time. > > 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? >=20 > This I don't know either. I always just reboot. >=20 > Kind regards, >=20 > T G-R Thank you for the help. W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --XxFGoiqGANoBSrBT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmOfoG0ACgkQL7/ufbZ/ wan57RAAsv9x+QIqk8c+EI12zFhOIZbPTRiUiG7KdoIIdl34lQLtHmYXrCiH5Ue9 xzMKJhTQXrX+UZnG1HTf+RObptk8awvFHTSSoiezzUHlhNUXUKUKE9fYj6LhEeyu EGRdyNOfHurgjaJagNn6acbXoU+Ml1RvqbzguVWiOhstCIkiLa8dqD6X0qRMCiCw 62UeCRTaPZsXfMQuH5/8a/kv0A7XWzQ9ur1zQPhqYFPZgRBD15EH8/iRatVpCGgm 8DU8YKCFoTADU0HN/B00DC6cSg8FV1X6eNOdWTE+O0+p7g4/H5TIHexAKzBLu7Pl SYErE77q88CLE6mI2N0G4nty/yM5qhxnzRU97UrqUlqzMN7fQr5meGGi/jMHNVTg Vy50TwToi7oL0nuDzKQKJsEwlveMSgchZp6zlLhzOr/BlnV4sfupK2vtSE5vU2RL R2ELp4egYd3BzX87ClJqLMJzJK2guv9I8YX1JRqhpYtRKMokcESbSlaKspAAstSm mLXnfg+a2mH1ZIEWkTtR4PXo56eLUVyXMUZ6+yPz/C1rwevgNFcKCbKt3qCk/MjK OqABu1cL+PdYPLNY4nSeXtkX6FfKpapo5AODX+PgtoMpLb7B5kc14lMJiFEzpsH0 A52+ylNjbd9ZhZ0JGK+17gzFRQ8fIASwL7Oa/0ga8QHa8rwXdcU= =jLYx -----END PGP SIGNATURE----- --XxFGoiqGANoBSrBT--