Database problems persist

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.

Yes, there is.

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
1 Like

If it is easier for you, you can also enter the following in the terminal.

sudo cp /etc/pacman.conf /etc/pacman.conf.original
sudo cp /etc/pacman.conf.pacnew /etc/pacman.conf
sudo pacman-mirrors --fasttrack
sudo pacman -Syu

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))

that would then be a separate problem - there are also many, many posts about this here

perhaps include “howto” or “root tip” or “wiki” in your search for:

That should help.

2 Likes

Option 2 here fixed the problem:

(Pacman troubleshooting - Manjaro)

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.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.