Skip to content

Instantly share code, notes, and snippets.

@micw
Created July 17, 2020 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micw/9d0cc9924a32fa564fa12926a218120f to your computer and use it in GitHub Desktop.
Save micw/9d0cc9924a32fa564fa12926a218120f to your computer and use it in GitHub Desktop.
Setting up pacman
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key...
gpg: key 23A3588614ECF09B marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/EF87C38EA3C6A657AF54A36323A3588614ECF09B.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
Preparing rootfs
==> Creating install root at /data/rootfs.tmp
==> Installing packages to /data/rootfs.tmp
:: Synchronizing package databases...
core 134.0 KiB 451 KiB/s 00:00 [####################################################################] 100%
extra 1664.8 KiB 447 KiB/s 00:04 [####################################################################] 100%
community 5.1 MiB 702 KiB/s 00:07 [####################################################################] 100%
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20200622-1
Total Download Size: 0.88 MiB
Total Installed Size: 1.24 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
archlinux-keyring-20200622-1-any 898.2 KiB 700 KiB/s 00:01 [####################################################################] 100%
(1/1) checking keys in keyring [####################################################################] 100%
downloading required keys...
:: Import PGP key 6D42BDD116E0068F, "Christian Hesse <arch@eworm.de>"? [Y/n]
(1/1) checking package integrity [####################################################################] 100%
error: archlinux-keyring: signature from "Christian Hesse (Arch Linux Package Signing) <arch@eworm.de>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20200622-1-any.pkg.tar.zst 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 (PGP signature))
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
Command '['/bin/bash', '-c', 'pacstrap -c /data/rootfs.tmp archlinux-keyring']' returned non-zero exit status 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment