You are not logged in.
Hello folks!
Recently I failed to complete a pacman upgrade (Syu). It was running while some weird flash monster website froze the system.
When I try an upgrade of my system now, I get consistent aborts:
(1/X) checking package integrity
error: GPGME error: Invalid crypto engine
error: gnupg: missing required signature
:: File /var/cache/pacman/pkg/XXXXXXXXX.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Tried some random things after using the Google, no success:
sudo pacman-key --init
==> ERROR: Cannot find the gpg binary required for all pacman-key operations.
sudo pacman-key --populate archlinux
==> ERROR: Cannot find the gpg binary required for all pacman-key operations.
If I disable SigLevel in /etc/pacman.conf:
#SigLevel = Required DatabaseOptional
SigLevel = Never
I get the upgrade done with sudo pacman --Syu.
How can I get PGP verification back?
Thanks in advance!
Offline
Offline
Hey!
Thanks for the quick reply and link!
If you meant to try this (as I was reporting an unsuccessful upgrade in the first place):
find /var/cache/pacman/pkg/ -iname "*.part" -exec rm {} \;
Did not help.
I tried the pacman -Scc switch as well. No result.
Thanks again!
Offline
Reinstall gpg and gpgme
Online
Hey,
when I try to remove the gpgme and gnupg packages I get stuck at
error: failed to prepare transaction (could not satisfy dependencies)
:: gpgmepp: requires gpgme
:: kdepimlibs4: requires gpgme
:: pacman: requires gpgme
Shall I reinstall all the dependencies as well?
Offline
I didn't say remove them
Online