How to solve keyring issues in Manjaro


#1

Manjaro and Arch users have a security keyring on their machine that allows them to safely download packages from the Manjaro and Arch repositories without those packages getting tampered with by a man-in-the-middle-attack.

Sometimes if a user doesn’t update their system for a long time, this keyring might expire. The keyring can also get corrupted for some reason.

To solve basic keyring issues do the following:

Resynchronise with the Manjaro repository servers to ensure that everything is up to date - by entering the command:

sudo pacman -Syy

Refresh and update the signature keys by entering the command:

sudo pacman-key --refresh-keys

Reload the signature keys by entering the command:

sudo pacman-key --populate archlinux manjaro

The three commands above should solve most (basic) keyring issues.

If they don’t, then you can also try more drastic measures.

Warning: The following commands only work if your system time is set correctly!

Remove old (and possibly broken) keys by entering this command:

sudo rm -r /etc/pacman.d/gnupg

Reinstall keyrings including the latest keys:

sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring

Initialize the pacman keyring:

sudo pacman-key --init

Load the signature keys:

sudo pacman-key --populate archlinux manjaro

Refresh and update the signature keys:

sudo pacman-key --refresh-keys

Clear out the software packages downloaded during aborted installations (optional):

sudo pacman -Sc

Warning: The above command clears the pacman cache completely, and you will not be able to downgrade to a previous version of a package until you’ve updated the packages at least two times.

Finally, try updating your system to see if the errors were resolved.

sudo pacman -Syu


XFCE - Keyring Issue Opera and Google Chrome (16.08 Ellada)
Problem with keyring
How do you continue update after accidentally closing update window?
[Stable Update] 2018-07-01 - Kernels, KDE, LibreOffice, Browsers, Mesa, Systemd, Deepin
Unbekannter öffentlicher Schlüssel
Not able to update manjaro after system restarted in powerfaliure during update
[Stable Update] 2018-10-19 - Kernels, KDE, Xorg, VB, PHP, Mesa, Nvidia, Pamac
[Testing Update] 2018-11-25 - The "I shoot you outta Orbit" Update
Issues Upgrading Laptop
#2

did I get something new?


#3

i used pacli it fixed all that. (a great tool)