Pacman error during update

“Error: multilib.db: GPGME error: No data” when trying to run pacman -Syyu

I’ve run through all the steps I could find on this site. [I tried to link the 2 posts I read but your topic creator will not allow me to post links. I was going to post them here]

Nothing works. Last week my updates were fine. This week I’m getting the above mentioned error. Anyone have anything I can try besides re-installing?

search function is your friend

1 Like

Did that… Got the following error(s?) back.

:: Synchronizing package databases...
 core                                                  27.5 KiB   306 KiB/s 00:00 [###############################################] 100% extra                                                 27.5 KiB   918 KiB/s 00:00 [###############################################] 100% community                                             27.5 KiB  2.69 MiB/s 00:00 [###############################################] 100% multilib                                              27.5 KiB  1376 KiB/s 00:00 [###############################################] 100%error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
error: database 'community' is not valid (invalid or corrupted database (PGP signature))
error: database 'multilib' is not valid (invalid or corrupted database (PGP signature))
:: Starting full system upgrade...
 there is nothing to do

remove the files in /var/lib/pacman/sync and rerun pacman -Syu

2 Likes

the entire directory contents or specific files?

you can safely remove all files inside the sync folder - pacman will download them

rm -f /var/lib/pacman/sync/*

If you continue to have issues - you will have to change mirror

removed contents of that directory. New error below.

sudo pacman -Syu
:: Synchronizing package databases…
core 27.5 KiB 275 KiB/s 00:00 [###############################################] 100% extra 27.5 KiB 459 KiB/s 00:00 [###############################################] 100% community 27.5 KiB 306 KiB/s 00:00 [###############################################] 100% multilib 27.5 KiB 688 KiB/s 00:00 [###############################################] 100%error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: database ‘core’ is not valid (invalid or corrupted database (PGP signature))
error: database ‘extra’ is not valid (invalid or corrupted database (PGP signature))
error: database ‘community’ is not valid (invalid or corrupted database (PGP signature))
error: database ‘multilib’ is not valid (invalid or corrupted database (PGP signature))
:: Starting full system upgrade…
there is nothing to do

How would I change the mirror…or is there something else to mitigate the above error?
Thanks for your help, btw!

Anyone have any further ideas?

pacman-mirrors --continent

Eureka! That seemed to work…finally! Thank you kind sir.

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