You are not logged in.
Pages: 1
Topic closed
I cannot do any operations in pacman any more, because I'm getting the error 'error: GPGME error: Invalid crypto engine'.
This happened after I wanted to do a full system upgrade, which kept failing because keys did not have enough trust, despite me rebuilding the pacman keyring multiple times and even deleting the pacman gpg folder, and completely re-creating the key database.
After some googling I came across this post: https://bbs.archlinux.org/viewtopic.php?id=267364 where it was said to reinstall the gnupg package (pacman -S gnupg) which I did, after that I got the aforementioned error.
I need help.
Last edited by beelzebot (2021-11-27 08:45:55)
Offline
I downgraded back to the old gnupgp package version but now I'm back to the orignial problem, can't upgrade because of signature errors.
Last edited by beelzebot (2021-11-27 08:27:05)
Offline
Follow Pacman#Pacman_crashes_during_an_upgrade
Replace step 4 with
pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu gnupg
Edit:
Please post the output from `pacman -Syu` as it is now.
Last edited by loqs (2021-11-27 08:29:44)
Offline
sudo pacman -Sy archlinux-keyring
I downgraded back to the old gnupgp package version
Does this imply you're *now* running a partial update or did you previously conduct a partial update, moving only gnupgp out of sync?
Online
sudo pacman -Sy archlinux-keyring
I downgraded back to the old gnupgp package version
Does this imply you're *now* running a partial update or did you previously conduct a partial update, moving only gnupgp out of sync?
This: sudo pacman -Sy archlinux-keyring has fixed the problem. I thought I did that already when I researched the problem but apparently not.
Thank you very much!
Just FYI, it was a partial update yesterday after I did pacman -S gnupg without really thinking, just doing what was said in that other post. After the downgrade everything was back to how it was before.
Come to think of it, it seems to me the archlinux-keyring installation you suggested is also a partial update?
Offline
Come to think of it, it seems to me the archlinux-keyring installation you suggested is also a partial update?
Yes, but you were told so and I'm above the legally allowed to conduct partial updates
(It's actually even mentioned in the wiki and while partial updates are usually bad, they can be permissable and even sometimes required - but you need to know what and why you're doing. In this case: working around not having updated in quite a while)
Online
Replace step 4 with
pacman --root /mnt --cachedir /mnt/var/cache/pacman/pkg -Syu gnupg
Thank you!! This saved my installation!!
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed