Update problem (GPME error: No data)

so i’ve never got any update pop ups anymore since the last few days, so i tried to run

sudo pacman -Syu

and to my surprise it’s an error, this is what i got

[caviezel@Nicolas ~]$ sudo pacman -Syu
[sudo] password for caviezel:
error: GPGME error: No data
:: Synchronising package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
endeavouros 21,6 KiB 6,38 KiB/s 00:03 [---------------------------------------] 100%
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
[caviezel@Nicolas ~]$

What should i do to fix this?

Try the following steps and see if you can get it working:

  • Launch the welcome app and refresh your mirrors

  • sudo pacman -Syy archlinux-keyring

  • sudo pacman -Su

If you still get some error messages please post them here.

try :

sudo pacman -S archlinux-keyring endeavouros-keyring

just for feedback…

does it help, probably need different options.

I already tried this, doesn’t work. I have the same problem. Not only updates are blocked, getting new applications as well. Is there another link of similar problems?

Did you try updating your mirrors first?

The funami mirror seems to have something funky going on with it.

First, I removed it from /etc/pacman.d/endeavouros-mirrorlist and tried re-populating keys. What finally worked for me was

sudo rm -R /var/lib/pacman/sync

followed by

sudo pacman -Syy

2 Likes

your the same person or have the same issue ?

Same issue, could update my system. I found my a solution for it
https://bbs.archlinux.org/viewtopic.php?pid=1983577 (here is the link for the solution.

As I posted above :wink:

Edit: Thanks to @manuel the troublesome mirror has been removed: Pacman endeavouros.db error - need to renew Korean mirror domain - #12 by joekamprad

2 Likes

same error

[caviezel@Nicolas ~]$ sudo pacman -Syy archlinux-keyring
[sudo] password for caviezel:
error: GPGME error: No data
:: Synchronising package databases…
core 138,6 KiB 25,7 KiB/s 00:05 [---------------------------------------] 100%
extra 1556,0 KiB 222 KiB/s 00:07 [---------------------------------------] 100%
community 6,1 MiB 517 KiB/s 00:12 [---------------------------------------] 100%
multilib 149,0 KiB 27,1 KiB/s 00:05 [---------------------------------------] 100%
endeavouros 24,2 KiB 24,8 KiB/s 00:01 [---------------------------------------] 100%
error: failed retrieving file ‘endeavouros.db’ from mirror.funami.tech : SSL connection timeout
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
[caviezel@Nicolas ~]$

same problem

[caviezel@Nicolas ~]$ sudo rm -R /var/lib/pacman/sync
[sudo] password for caviezel: 
[caviezel@Nicolas ~]$ sudo pacman -Syy
:: Synchronising package databases...
 core                                     138,6 KiB   247 KiB/s 00:01 [---------------------------------------] 100%
 extra                                   1556,0 KiB   657 KiB/s 00:02 [---------------------------------------] 100%
 community                                  6,1 MiB   521 KiB/s 00:12 [---------------------------------------] 100%
 multilib                                 149,0 KiB   102 KiB/s 00:01 [---------------------------------------] 100%
 endeavouros                               21,5 KiB  3,12 KiB/s 00:07 [---------------------------------------] 100%
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
[caviezel@Nicolas ~]$ 



i did

Try this:
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman -Sy archlinux-keyring && pacman -Su

still the same error

[caviezel@Nicolas ~]$ sudo pacman-key --init
[sudo] password for caviezel: 
[caviezel@Nicolas ~]$ sudo pacman-key --populate archlinux 
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2022-05-06
[caviezel@Nicolas ~]$ sudo pacman -Sy archlinux-keyring && pacman -Su
error: GPGME error: No data
:: Synchronising package databases...
 core                                     138,6 KiB  72,5 KiB/s 00:02 [---------------------------------------] 100%
 extra                                   1555,9 KiB  46,2 KiB/s 00:34 [---------------------------------------] 100%
 community                                  6,1 MiB  86,4 KiB/s 01:12 [---------------------------------------] 100%
 multilib is up to date
 endeavouros                               21,6 KiB  8,46 KiB/s 00:03 [---------------------------------------] 100%
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
[caviezel@Nicolas ~]$ 


Try

sudo pacman -Syy
sudo pacman -Scc

Then run your package install

maybe have a read

" https://wiki.archlinux.org/title/Pacman#“Failed_to_commit_transaction_(invalid_or_corrupted_package)”_error "

there note at bottom .

1 Like

@CAVIEZEL That’s really frustrating. Did you remove the funami mirror in your endeavouros-mirrorlist first?

I can see a bunch of funami in here, which one do i remove? all?

######################################################
####                                              ####
###        EndeavourOS Repository Mirrorlist       ###
####                                              ####
######################################################
#### Entry in file /etc/pacman.conf:
###     [endeavouros]
###     SigLevel = PackageRequired
###     Include = /etc/pacman.d/endeavouros-mirrorlist
######################################################
### Tip: Use the 'eos-rankimirrors' program to rank
###      these mirrors or re-order them manually.
######################################################

## Germany
#Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
#Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
#Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch

## Sweden
#Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
#Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch

## Canada
#Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch

## China
#Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch

## Singapore
#Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
#Server = http://mirror.jingk.ai/endeavouros/repo/$repo/$arch

## France
#Server = https://endeavour.remi.lu/repo/$repo/$arch

## South Korea
#Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch

# Results of mirror ranking at (UTC) 06/01/22 04:44:03:
# The following fields are shown for each mirror:
#   mirror:          The mirror address
#   update-level:    Ordinal number of the latest update (larger is newer)
#   fetch-time:      Measures the speed of the mirror (smaller is faster)
#
# mirror                                                             update-level  fetch-time
# ~~~~~~                                                             ~~~~~~~~~~~~  ~~~~~~~~~~
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            1176          0.420747
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  1176          0.602221
# https://de.freedif.org/EndeavourOS/repo/$repo/$arch                1176          0.905102
# https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch         1176          0.948932
# http://mirror.jingk.ai/endeavouros/repo/$repo/$arch                1176          1.314130
# https://endeavour.remi.lu/repo/$repo/$arch                         1176          1.321978
# https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch       1176          1.376193
# https://mirror.linux.pizza/endeavouros/repo/$repo/$arch            1176          2.089185
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               1176          5.171062
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              1176          5.662822
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               1176          5.809706

# EndeavourOS mirrorlist:
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = http://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://endeavour.remi.lu/repo/$repo/$arch
Server = https://ca.gate.endeavouros.com/endeavouros/repo/$repo/$arch
Server = https://mirror.linux.pizza/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch

i got this, what should i do?

[caviezel@Nicolas ~]$ rm -r /var/lib/pacman/sync/
rm: descend into write-protected directory '/var/lib/pacman/sync/'? 


Add # at the beginning of this line:
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch

It should look like this:
# Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch

Lines with a # sign at the beginning are skipped.

Edit it with sudo nano /etc/pacman.d/endeavouros-mirrorlist
Remember to save changes to a file.

1 Like