You are not logged in.

#1 2014-12-12 17:18:04

Osiris
Member
Registered: 2003-01-18
Posts: 157
Website

Can't install anything due to PGP signature problems

Hello,

I followed the instructions at https://www.archlinux.org/news/gnupg-21 … n-keyring/ (without installing haveged) and now I can't install any packages anymore.

root@horus /home/florian # rm -rf /etc/pacman.d/gnupg 
root@horus /home/florian # pacman-key --init
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 EBDCFE13 marked as ultimately trusted
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
root@horus /home/florian # pacman -S archlinux-keyring
warning: archlinux-keyring-20140908-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Packages (1): archlinux-keyring-20140908-1

Total Download Size:    0.43 MiB
Total Installed Size:   0.60 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
 archlinux-keyring-20140908-1-any                                                                                                         444.8 KiB  2.09M/s 00:00 [#####################################################################################################] 100%
(1/1) checking keys in keyring                                                                                                                                     [#####################################################################################################] 100%
downloading required keys...
:: Import PGP key 2048R/4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC, "Pierre Schmitz <pierre@archlinux.de>", created: 2011-04-10? [Y/n] Y
(1/1) checking package integrity                                                                                                                                   [#####################################################################################################] 100%
error: archlinux-keyring: signature from "Pierre Schmitz <pierre@archlinux.de>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20140908-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Any idea?

Thanks,
Florian

Offline

#2 2014-12-12 17:24:53

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Can't install anything due to PGP signature problems

Osiris wrote:
root@horus /home/florian # pacman -S archlinux-keyring

That's wrong.

You need to do this instead:

# pacman-key --populate archlinux

https://www.archlinux.org/news/gnupg-21 … n-keyring/

Offline

#3 2014-12-12 18:11:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't install anything due to PGP signature problems

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB