Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Unable to update the system: problem with the keys. (Read 900 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Unable to update the system: problem with the keys.

Hello,
 
I'm trying to update the system with "pacman -Syu", but after downloading the packages and replying "yes" to the request: "Should I import the PGP key F4AA4E0ED2568E87, Jiachen YANG <[email protected]> ? Y / n "  I get the following error:

"Unable to search the key F4AA4E0ED2568E87 on the remote server. The requested key is not present in the keyring. "

and the update does not finish.

Can anyone help me to solve?

A thousand thanks.

Re: Unable to update the system: problem with the keys.

Reply #1
I solved with:

1. Enable "universe" repo, adding:

[universe]
  Server = https://universe.artixlinux.org/$arch
  Server = https://mirror1.artixlinux.org/universe/$arch
  Server = https://mirror.pascalpuffke.de/artix-universe/$arch
  Server = https://artixlinux.qontinuum.space/artixlinux/universe/os/$arch
  Server = https://mirror1.cl.netactuate.com/artix/universe/$arch
  Server = https://ftp.crifo.org/artix-universe/

to  etc/pacman.conf.-

2. sudo pacman -Sy

3. sudo pacman -S archlinux-keyring

4. sudo pacman  -Syyu

and it's ok



 

Re: [SOLVED] Unable to update the system: problem with the keys.

Reply #3
That wasn't the only problem nous, perhaps it was just that for some. But what happened was there was a 6 day delay between the Arch archlinux-keyring package being released in Arch and making it into Universe, which somehow then caused upgrade errors if you had certain Arch or AUR packages installed that required keys from the new keyring package that weren't in the old one, because the update also contained the new keyring package that would have already been installed in an earlier update on Arch, but it failed on the other errors first. So every time someone updates past that point, if they have those circumstances, they hit this error, I had it on 2 different installs and both already had universe enabled, one usually gets updated at least daily and the other at least weekly. I suppose there might normally be more of a changeover period for the keys, before new ones are used in place of old ones too, in terms of the package itself.