From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#37931: Cannot guix refresh -ru util-linux to get updated lsblk Date: Mon, 28 Oct 2019 23:29:16 +0100 Message-ID: <87tv7stsg3.fsf@devup.no> References: <20191026012248.GA119672@PhantoNv4ArchGx.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51595) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPDWX-0001wJ-1b for bug-guix@gnu.org; Mon, 28 Oct 2019 18:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPDWV-0004az-Mt for bug-guix@gnu.org; Mon, 28 Oct 2019 18:30:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPDWV-0004an-Ce for bug-guix@gnu.org; Mon, 28 Oct 2019 18:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPDWU-0001EY-Vs for bug-guix@gnu.org; Mon, 28 Oct 2019 18:30:03 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20191026012248.GA119672@PhantoNv4ArchGx.localdomain> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bengt Richter , 37931@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Bengt, Bengt Richter writes: > Hi Guix, > > IpPulled and updated to guix describe: > --------------------- > Generation 19 Oct 24 2019 22:37:20 (current) > guix 6caa739 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: 6caa7392d8e51f5ef26e9efaa867ca5f9e1cac91 > --------------------- > > but lsblk -f still looks like this: > --------------------- > NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT > sda=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda3=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda5=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda6=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=94=E2=94=80sda7=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > sdb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=94=E2=94=80sdb1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > nvme0n1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80nvme0n1p1 510M 50% /boot > =E2=94=9C=E2=94=80nvme0n1p2=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80nvme0n1p3 [SWAP] > =E2=94=94=E2=94=80nvme0n1p4 12.6G 71% / > --------------------- > where it should look like: (got this using foreign /usr/bin/lsblk -f) > --------------------- > NAME FSTYPE LABEL UUID F= SAVAIL FSUSE% MOUNTPOINT > sda=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda1 vfat Phanto1EFI 98AB-229C=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda2 ext4 d8ce4206-fc92-4248-816= 4-3fe5397c28fb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda3 swap 59e8ffd8-a2df-4021-ba5= 9-c8dda6215f83=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda4 ext4 Phanto4ArchGx 617f2280-d34a-4dea-ac5= 0-a1222dd18c26=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda5 ext4 Phanto5ArchGxOn 71e61e41-81d0-48ac-b50= f-a00668723c32=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80sda6 ext4 Phanto6Arch e5760f87-71bc-4318-92f= 1-d108e5c9e332=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=94=E2=94=80sda7 ext4 Phanto7GuixSD a60eac5f-2306-49c5-8c8= 7-7cab28ff6d37=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > sdb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 > =E2=94=94=E2=94=80sdb1 ext4 Cruz1GxArchivA 18fb1d34-47b0-4d62-bae= a-43681ec2e5a4=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > nvme0n1=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80nvme0n1p1 vfat PhantoV1EFI 6E3C-D410 = 510M 50% /boot > =E2=94=9C=E2=94=80nvme0n1p2 ext4 PhantoNv2Empty 76bc8f68-126c-4a6c-8b7= 7-afc89bd2726a=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > =E2=94=9C=E2=94=80nvme0n1p3 swap 24151091-f47a-46e2-a6c= b-e5219eddae7c [SWAP] > =E2=94=94=E2=94=80nvme0n1p4 ext4 PhantoNv4ArchGx 12eec2bf-bc81-48a8-b44= 4-26913c078302 12.6G 71% / > --------------------- The `lsblk` program requires root privileges in order to detect file systems and UUIDs. I'm guessing your distribution makes it setuid root? To do the same on Guix System, see the "Setuid programs" section of the manual. You would need something along these lines in your config: (operating-system [...] (setuid-programs (cons #~(string-append #$util-linux "/bin/lsblk")) %setuid-programs)) Does that work for you? > So I tried: > > [17:59 ~/bs]$ guix refresh -r util-linux > guix/build-system/gnu.scm:143:8: findutils would be upgraded from 4.6.0 t= o 4.7.0 > gnu/packages/commencement.scm:2183:2: binutils would be upgraded from 2.3= 2 to 2.33.1 > gnu/packages/commencement.scm:2244:2: gcc would be upgraded from 7.4.0 to= 9.2.0 > gnu/packages/commencement.scm:2142:2: glibc would be upgraded from 2.29 t= o 2.30 > [18:01 ~/bs]$ guix refresh -ru util-linux > guix/build-system/gnu.scm:143:8: error: cannot download for this method: = # onal name #:key system)> 'guix refresh -u' only works in combination with the './pre-inst-env' script, because it tries to modify your Guix directly. In any case util-linux is already the latest version. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl23a7wACgkQoqBt8qM6 VPpQVgf/VsRNYwr98LRSeSDNeLYTP7CpdQUXcijOwxQPLrrsrKZERaMsDlXs3xXk AZYpgWZlG2N8Zzl3WPSycWDfwEIXU5C/ujJ2Wg0ZwSUpzmOQDIjQRt0diKuduOYg 06A02Mhu312GTlT1zd7AQjeZx/kQbfjR4bom0xjI1O/ZL+IwKS0NxBgRwhZr4GjI N2C4nFgAt35Y/HGrncyPQrZA5g/2/I8WHZH+0i4zRoHpQxGbLiSMxps58Xk2nF4g oupJ2NeCwxuurbiFQHwgJls24i04opNaxqamKh41RESjAs008beb3B2CSvQxHczO C/MZ7PjNQq1T8waKmQUOO8bbl6kPpA== =TK8/ -----END PGP SIGNATURE----- --=-=-=--