From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Hi Guix, ??adding the package names to package list in system configuration file, we could install these packages system wide and they will be available for all users. ??for packages that are located in user profile, we could check for available updates using `guix pull`. ??but I didn't find any similar concept for system wide installed packages. ??is it possible to check for system wide installed packages without reconfiguring the system? ? Date: Wed, 16 Oct 2019 09:07:48 +0300 Message-ID: <20191016060748.GA1014@E5400> References: <1e98ffd7-4a2c-44d3-882d-d1b13b58c48b@pantherx.org> <19e653be-6e48-4c75-9227-c2c110a8cb8d@www.fastmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RnlQjJ0d97Da+TV1" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:53424) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKcTQ-0001v6-Ks for help-guix@gnu.org; Wed, 16 Oct 2019 02:07:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKcTP-00053C-C6 for help-guix@gnu.org; Wed, 16 Oct 2019 02:07:52 -0400 Received: from flashner.co.il ([178.62.234.194]:56222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iKcTP-00052j-2m for help-guix@gnu.org; Wed, 16 Oct 2019 02:07:51 -0400 Content-Disposition: inline In-Reply-To: <19e653be-6e48-4c75-9227-c2c110a8cb8d@www.fastmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Reza Alizadeh Majd Cc: help-guix@gnu.org --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2019 at 12:21:52AM +0330, Reza Alizadeh Majd wrote: > > I'm not sure I understand your question, so let me rephrase and please = tell me=20 > > if it's not what you wanted to ask. When you upgrade the distribution w= ith guix=20 > > pull, you can get a list of what could be upgraded using, say, guix pac= kage -n=20 > > -u. Your question was, I think, how to do that for globally available p= ackages. > > > > If that is your question, the answer is quite simple. The set of global= ly=20 > > installed packages is installed in a separate profile from the user pro= file.=20 > > You can use the same command as before, specifying that other profile, = to get=20 > > the same result, with globally installed packages: > >=20 > > guix package -p /run/current-system/profile -n -u >=20 >=20 > Hi Julien,=20 >=20 > Sorry if I couldn't describe my issue well. yes thats exactly what I mean= t to say. > so as I understand:=20 >=20 > 1. we can get list of upgradable packages using: `guix package -n -u` >=20 > 2. globally available packages are located in system profile located=20 > in `/run/current-system/profile` and we can't check for upgrades just by > pointing the profile location.=20 >=20 This is pretty cool, I never tried doing that before. (ins)efraim@E5400 ~/workspace/guix$ ./pre-inst-env guix package -p /run/cur= rent-system/profile -n -u The following derivation would be built: /gnu/store/mznyxwxi62ca8rlkmfbq66vb0m7wlz7p-profile.drv 2.6 MB would be downloaded: /gnu/store/qyzlsaiqfggbk0j505h4m57wyyqvjnxv-grep-3.3 /gnu/store/1gyi4i5lbpr7apm74p08dwy11fhzh4j7-sed-4.7 /gnu/store/nmy9vns5xavx4c77kij5yb85k7axx06w-findutils-4.6.0 /gnu/store/gh02bsk1w007gv4sl3b5rj18ziqgxm6f-diffutils-3.7 /gnu/store/c2vas7isbs7iwjsr7wr09iwdsw9vvy25-ed-1.15 /gnu/store/8ap398fd00xqa9ng9yzv8amkni7fzpi9-patch-2.7.6 /gnu/store/bf18yhnd9h5qlfsw8s4c849k424ph1qh-libsigsegv-2.12 /gnu/store/hn8kdxgd1yjqwmc32p4xjkzkhhw82g6f-gawk-5.0.1 The following profile hooks would be built: /gnu/store/hc51jygkiadkq8z5337jl80cpr3f8i3a-manual-database.drv /gnu/store/hn2ybg56m2qas1bz782b08yr6hpahb96-xdg-desktop-database.drv /gnu/store/j2lnvm506d9vlyksfdwnpkv1cp1n9l1c-xdg-mime-database.drv /gnu/store/nh6361wwkgncxzqbgfyl37n66c6hz1pz-fonts-dir.drv /gnu/store/q3bn0518lzmbm3mbd24r9h3flriabyxs-ca-certificate-bundle.drv /gnu/store/sl5yc24v3xrbrqajfrrxszw16xnz7jns-glib-schemas.drv /gnu/store/ybqjn15ixigjfl3g0qyinvabii8iba6g-info-dir.drv --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl2ms7EACgkQQarn3Mo9 g1HXHRAAwnjjTjs3+rsHtfZJgRNQ645APRa7jkBTW2ivNsI69q8ogrcUePT7aUUA BYtGJjClJaB5+crQRLOGr0dLT9oVVa3Btgr7F/RsZcWRncpHiWHfQRpxdpqmoAAB zApD9yXTIRi7LjX1UvHkwqemuyM75GyEvqdy9dWZdu14PuYCTsAnL/9NgGrgDiRo 1vQjoqSsfC+sOR44qkWzhFVNlQuHasgbCUsgGNP2gW61y4Fzzq9tbeWwmX/u7cxQ hH5ulhFKt0xpJehw3q8GAHbM2VhNMru5LUKwsuvI74xm8HiuybqlExdmyDgjKdXm 4QiAQRWHNBq5IzceylF4P4VAIWrTTgBRIaEnFz8bcjNbLvkIjGHD3qSjOTgeWGlA dEm2HYcdYYa8R5gxWd/YvXuSiqddtjY9aJdlJ6HhK947+tuF5LW9R6zWDkLq6hKN qR9Pf283SJgow3NDMBZSVpmZ/HOe9QaqFgdRVtSwBgaY9KRQamkm3oUr4rAg1HV6 Aye7zkwrdK5rhPl4TxTFkkVOQKNKGn/8eo+UMDXvmTA8SQsUTnyHenkBkqBO0xtZ DpYDqyhd+7JfSLLfd11Zpg4EDuUoZLt3bkWopA6jB1TM/FwCcpzT16Imu/tS4Izn Qr3EgTqUuGMzcqUCXF1ILfXAdBtRhDvR+FVho2jYJ5urG36S7x8= =tLnf -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--