[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47734: Guix install script on foreign distro fails to add berlin pub
From: |
Ludovic Courtès |
Subject: |
bug#47734: Guix install script on foreign distro fails to add berlin public key |
Date: |
Wed, 21 Apr 2021 21:56:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Here’s the paste, for posterity:
--8<---------------cut here---------------start------------->8---
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/
Press return to continue...
[1618245319.405]: Starting installation (Mon 12 Apr 2021 12:35:19 PM EDT)
[1618245319.409]: [ PASS ] verification of required commands completed
[1618245319.445]: [ INFO ] init system is: systemd
[1618245319.465]: [ WARN ] We recommend installing and/or starting your
distribution 'nscd' service
[1618245319.467]: [ WARN ] Please read 'info guix "Application Setup"' about
"Name Service Switch"
[1618245319.468]: [ INFO ] system is x86_64-linux
[1618245319.593]: [ PASS ] Release for your system:
guix-binary-1.2.0.x86_64-linux
[1618245319.595]: [ INFO ] Downloading Guix release archive
guix-binary-1.2.0.x86_64-linux.tar.xz
100%[=========================================================================================================================================>]
76.00M 68.5MB/s in 1.1s
guix-binary-1.2.0.x86_64-linux.tar.xz.sig
100%[=========================================================================================================================================>]
833 --.-KB/s in 0s
[1618245320.829]: [ PASS ] download completed.
[1618245321.262]: [ PASS ] Signature is valid.
[1618245328.424]: [ PASS ] unpacked archive
[1618245328.426]: [ INFO ] Installing /var/guix and /gnu...
[1618245329.506]: [ INFO ] Linking the root user's profile
[1618245329.516]: [ PASS ] activated root profile at /root/.config/guix/current
[1618245330.001]: [ PASS ] group <guixbuild> created
[1618245330.698]: [ PASS ] user added <guixbuilder01>
[1618245331.389]: [ PASS ] user added <guixbuilder02>
[1618245332.274]: [ PASS ] user added <guixbuilder03>
[1618245332.907]: [ PASS ] user added <guixbuilder04>
[1618245333.583]: [ PASS ] user added <guixbuilder05>
[1618245334.203]: [ PASS ] user added <guixbuilder06>
[1618245334.874]: [ PASS ] user added <guixbuilder07>
[1618245335.520]: [ PASS ] user added <guixbuilder08>
[1618245336.215]: [ PASS ] user added <guixbuilder09>
[1618245336.853]: [ PASS ] user added <guixbuilder10>
Created symlink /etc/systemd/system/guix-daemon.service.wants/gnu-store.mount →
/etc/systemd/system/gnu-store.mount.
Created symlink /etc/systemd/system/multi-user.target.wants/guix-daemon.service
→ /etc/systemd/system/guix-daemon.service.
[1618245337.848]: [ PASS ] enabled Guix daemon via systemd
[1618245337.849]: [ INFO ] making the guix command available to other users
Permit downloading pre-built package binaries from the project's build farm?
(yes/no) yes
/home/roptat/guix-install.sh: line 445:
/root/.config/guix/current/share/guix/ci.guix.gnu.org.pub: No such file or
directory
[1618245340.514]: [ PASS ] installed shell completion
[1618245340.516]: [ INFO ] cleaning up /tmp/guix.ySI
[1618245340.528]: [ PASS ] Guix has successfully been installed!
[1618245340.529]: [ INFO ] Run 'info guix' to read the manual.
[1618245340.530]: [ INFO ] Please log out and back in to complete the
installation.
--8<---------------cut here---------------end--------------->8---
We see these lines:
[ INFO ] Installing /var/guix and /gnu...
[ INFO ] Linking the root user's profile
[ PASS ] activated root profile at /root/.config/guix/current
which is evidence that ~root/.config/guix/current was created and is not
a dangling symlink. Further more, the binary tarball does contain that
.pub file:
--8<---------------cut here---------------start------------->8---
$ wget -qO - https://ftp.gnu.org/gnu/guix/guix-binary-1.2.0.x86_64-linux.tar.xz
| xz -d | tar tv | grep '\.pub$'
-r--r--r-- root/root 118 1970-01-01 01:00
./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/berlin.guix.gnu.org.pub
-r--r--r-- root/root 118 1970-01-01 01:00
./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/ci.guix.gnu.org.pub
-r--r--r-- root/root 118 1970-01-01 01:00
./gnu/store/6rn4l3h0p9x0m615pp1ynlv9v0743kl3-guix-1.2.0/share/guix/ci.guix.info.pub
--8<---------------cut here---------------end--------------->8---
So I don’t see what happened.
Julien, could it be that “something else” removed /root/.config or
/var/guix/profiles while it was running? Or… any other idea?
Thanks,
Ludo’.