I’ve been using Manjaro Linux for years, but I’m certainly not a techie (just a computer user who can’t stand Windows!). But a recent problem has got me beaten and I’m worried that I am unable to keep my system up to date.
After thoroughly searching the forum and carefully following the several (different!) step-by-step instructions offered, I keep failing to fix it.
Depending on the ‘solutions’ tried, I get error messages such as:
failed to synchronize databases
invalid or corrupted database (PGP signature)
GPGME error: No data
community.db failed to download
requested URL returned error: 404
failed to synchronize all databases (failed to retrieve some files).
Is there an easy-to-follow approach to fix this problem?
Many thanks for any help.
Get rid of the community repo definition in /etc/pacman.conf
That repository does not exist anymore and is the cause of the error.
Merge this
(/etc/pacman.conf.pacnew)
and all other .pacnew files.
There was a frenzy of posts about this self inflicted issue a few days/weeks ago here.
At the end of the file, these should be the only things left in it:
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
Include = /etc/pacman.d/mirrorlist
Thank you, but when I tried that I got the following error response:
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
I tried this earlier and it didn’t fix it, but then I did host of things recommended on the forum, none of which worked, but I finally re-tried the above, it fixed the problem and I am now updating successfully. Thanks.