Project

General

Profile

error key pacstrap /mnt base

gnu - 8 months ago -

pacstrap /mnt base

...
...
 your-freedom-20211018.1-1-any                    18.3 KiB  71.4 KiB/s 00:00 [############################################] 100%
 base-2-2.parabola1-any                            2.3 KiB  9.99 KiB/s 00:00 [############################################] 100%
 Total (121/121)                                 113.7 MiB   311 KiB/s 06:14 [############################################] 100%
error: failed retrieving file 'gcc-libs-11.1.0-1-x86_64.pkg.tar.zst' from mirror.grapentin.org : 
Operation too slow. Less than 1 bytes/sec transferred the la>
error: failed retrieving file 'gcc-libs-11.1.0-1-x86_64.pkg.tar.zst' from ftp.acc.umu.se : 
Operation too slow. Less than 1 bytes/sec transferred the last 10 >
(121/121) checking keys in keyring                                           [############################################] 100%
(121/121) checking package integrity                                         [############################################] 100%
error: linux-libre-api-headers: signature from "Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>" is unknown trust
:: File /mnt/var/cache/pacman/pkg/linux-libre-api-headers-5.8.13_gnu-2-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package 
(PGP signature)).
Do you want to delete it? [Y/n]
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
pacstrap /mnt base  13.31s user 10.02s system 5% cpu 6:44.79 total
root has logged on pts/2 from :tty1:S.2.

pacman-key --refresh-keys

root@parabolaiso ~ # pacman-key --refresh-keys GNUtoo@cyberdimension.org
gpg: error retrieving 'gnutoo@cyberdimension.org' via WKD: Connection refused
gpg: error reading key: Connection refused
gpg: error retrieving 'gnutoo@no-log.org' via WKD: Server indicated a failure
gpg: error reading key: Server indicated a failure
gpg: error retrieving 'gnutoo@riseup.net' via WKD: Server indicated a failure
gpg: error reading key: Server indicated a failure
gpg: error retrieving 'gnutoo@makefreedom.org' via WKD: Connection refused
gpg: error reading key: Connection refused
gpg: refreshing 1 key from hkps://keyserver.ubuntu.com
gpg: key 7651568F80374459: "Denis 'GNUtoo' Carikli <GNUtoo@makefreedom.org>" 6 new signatures
gpg: key 7651568F80374459: "Denis 'GNUtoo' Carikli <GNUtoo@makefreedom.org>" 4 signatures cleaned
gpg: Total number processed: 1
gpg:         new signatures: 6
gpg:     signatures cleaned: 4
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: public key DB323392796CA067 is 3037 days newer than the signature
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  28  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  28  signed:  83  trust: 1-, 0q, 0n, 27m, 0f, 0u
gpg: depth: 2  valid:  78  signed:  25  trust: 78-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2021-12-18


Replies (12)

RE: error key pacstrap /mnt base - telur - 8 months ago -

whoa even the gnu itself is overwhelmed :)

maybe try this:

$ sudo pacman -Syy parabola-keyring archlinux-keyring
$ sudo rm -r /etc/pacman.d/gnupg/*
$ sudo pacman-key --init
$ sudo pacman-key --populate parabola archlinux
$ sudo pacman-key --refresh-keys
$ sudo pacman -Sy parabola-keyring archlinux-keyring

RE: error key pacstrap /mnt base - gnu - 8 months ago -

What it have to do whit SUDO?

I cannot install the system from the live installer (parabola-2021.08.11-dual.iso)
After "pacman-key --refresh-keys " the error follows.

RE: error key pacstrap /mnt base - telur - 8 months ago -

sorry im pasted it. if is a live system, just append all the sudo.

for more comprehensive tutorial, please follow the fresh wiki created thanks by nona above.

RE: error key pacstrap /mnt base - gnu - 8 months ago -

I had already tried the solutions of the parabola wiki without success, I will try one more time.

Thanks!

RE: error key pacstrap /mnt base - nona - 8 months ago -

telur is recommending you to look at it again, because the contents changed since the last time you visited the wiki :) . Let us know if it works.

RE: error key pacstrap /mnt base - gnu - 8 months ago -

I have not managed to install the BASE package, it could be that the package (linux-libre-api-headers) has not been signed off properly?
Many of the tips deal with an already installed system. The gnupg that verifies the packages is in the ISO, has anyone tried to install the system from scratch with the latest live system? Last month I installed parabola without problems with the same version of ISO.

RE: error key pacstrap /mnt base - nona - 8 months ago -

Hi,

The first post of this thread shows pacstrap /mnt base, but it would be useful to know:
  1. Are you trying to install Parabola?
  2. How are you doing that?
  3. Does your hard drive already have an operating system? Is the hard drive formatted? Is it clean? What is the status of your hard drive?
  4. Are you using a live system (USB, DVD, virtual machine...)?
  5. Why are you trying to install the base package (if not for a new Parabola install)?

I installed Parabola around a month ago with the OpenRC live ISO 2021-08-11.

Remember: I am just a user trying to help.

RE: error key pacstrap /mnt base - gnu - 8 months ago -

Hi,

1. Of course
2. Net Install
3. The disk has a new encrypted partition mounted on / mnt
4. live system write in usb drive

RE: error key pacstrap /mnt base - nona - 8 months ago -

Thank you very much. That helps me to understand the situation, and possibly advise you better.

I am going to make a wild guess here:
  1. Assuming that you have the OpenRC 2021-08-11 live ISO running on your USB drive
  2. After decrypting, do not mount
  3. Format and partition the decrypted system (to make sure that there is no junk there)
  4. Run lxterminal and execute ./install.sh lxterminal showing the beginning of install.sh
    main menu of install.sh
  5. Follow up to the Gparted version of the mount step (Format and mount partitions; close Gparted when it shows up).
  6. Open a new tab or window of lxterminal, and mount your formatted partition onto /mnt
  7. Check that your partition is mounted on /mnt/
    lsblk

If you got that far, the live system already has mostly everything you need in terms of keys and mounting points. You can go ahead and install the system. I would avoid step 2 in the install menu, and just do it from the command line (leave the install menu open and work on the new lxterminal tab):

  1. Install the OpenRC base system
    pacstrap -c /mnt --ignore systemd-libs --ignore systemd base base-devel
live_lxterminal_install_start.png (239 KB) live_lxterminal_install_start.png lxterminal showing the beginning of install.sh
live_install_format_menu.png (25.4 KB) live_install_format_menu.png format submenu of install.sh
live_install_menu.png (43 KB) live_install_menu.png main menu of install.sh

RE: error key pacstrap /mnt base - gnu - 8 months ago -

I thank you for help, but...
It is not the first time I install Parabola or Hyperbola,
I'm always installed with the cli version without script.

The version of net install that I'm using is the "Parabola SystemD CLI ISO 2021-08-11"
that contains the last version of parabola/archlinux-keyring.

Maybe it could be a problem with the GNUPG package of the ISO or a problem with the Keyserver?
..or maybe, a package of the base system signed off properly?

Can someone test this error?

RE: error key pacstrap /mnt base - nona - 8 months ago -

Hi.

It would be very helpful if next time you specify (1) the actual error that you are trying to solve, (2) the conditions under which it happens and (3) the expected behaviour. Many times, people also add a minimal working example. In your case, we only got 2 commands and their corresponding output. I am sure that you are familiar with the regular guidelines to create a bug report, if not, you can search for how to ask a question online with your favourite online query engine.

Yesterday, I followed the procedure that I described except for the last command, and as you may know, it takes forever to get the keys refreshed (I am doing it again, just for you). If what you want to confirm is whether the WKD error shows up, yes, it does. I hope that is helpful. Other than that, I won't assume that you have any other requests.

    (1-12/12)