Can't use pacman "error: GPGME error: No data"

When executing:
$ sudo pacman -Syu
I’m getting following output:
error: GPGME error: No data
:: Synchronising package databases…
endeavouros 12,3 KiB 42,0 KiB/s 00:00 [----------------------------------------------------] 100%
core is up to date
extra is up to date
multilib is up to date
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)
I’ve already tried other solutions to this problem, they don’t work for me.

you can try this

eos-rankmirrors then try again

1 Like

Thanks for the reply. Unfortunately it doesn’t work

[x@x-latitudee5470 ~]$ eos-rankmirrors
==> eos-rankmirrors: info: extracting package endeavouros-mirrorlist 25.2.2-1 ...
==> eos-rankmirrors: info: ranking EndeavourOS mirrors, please wait ...
==> Info: Results of ranking EndeavourOS mirrors:

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 03.03.25 11:28:23.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server = https://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch
Server = https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
Server = https://repo.c48.uk/endeavouros/repo/$repo/$arch
Server = https://mirror.rznet.fr/endeavouros/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch
Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch
Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch
Server = https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.nag.albony.in/endeavouros/repo/$repo/$arch
Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
Server = https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
Server = https://www.miraa.jp/endeavouros/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Mirror ranking info at (UTC) 03.03.25 09:28:23:
# 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://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch             2339          0.180978
# https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch    2339          0.257341
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              2339          0.268783
# https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch      2339          0.270372
# https://repo.c48.uk/endeavouros/repo/$repo/$arch                   2339          0.284526
# https://mirror.rznet.fr/endeavouros/repo/$repo/$arch               2339          0.312073
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               2339          0.321484
# https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch     2339          0.336929
# https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch        2339          0.371628
# https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch          2339          0.385232
# https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch          2339          0.387798
# https://mirror.nag.albony.in/endeavouros/repo/$repo/$arch          2339          0.691758
# https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch           2339          0.846769
# https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch       2339          0.940909
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               2339          1.147004
# https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch     2339          1.207312
# https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch            2339          1.249312
# https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch   2339          1.271694
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            2339          1.451560
# https://www.miraa.jp/endeavouros/repo/$repo/$arch                  2339          1.806608
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  2339          1.906385
# https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch           2339          2.300163
# https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch            2338          4.831650
# https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch        2337          0.735547

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

### Original mirrorlist before ranking:

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

## Australia
#Server = https://mirror.b-interactive.com.au/endeavouros/repo/$repo/$arch

## Belgium
#Server = https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch

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

## Denmark
#Server = https://mirrors.c0urier.net/linux/endeavouros/repo/$repo/$arch

## France
#Server = https://mirror.rznet.fr/endeavouros/repo/$repo/$arch

## Germany
#Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
#Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
#Server = https://ftp.rz.tu-bs.de/pub/mirror/endeavouros/repo/$repo/$arch

## Greece
#Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch

## India
#Server = https://mirror.nag.albony.in/endeavouros/repo/$repo/$arch
#Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch

## Japan
#Server = https://www.miraa.jp/endeavouros/repo/$repo/$arch

## Moldova
#Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch

## Portugal
#Server = https://mirror.leitecastro.com/endeavouros/repo/$repo/$arch

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

## South Africa
#Server = https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch

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

## Sweden
#Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch

## Taiwan
#Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch

## Ukraine
#Server = https://distrohub.kyiv.ua/endeavouros/repo/$repo/$arch

## United Kingdom
#Server = https://repo.c48.uk/endeavouros/repo/$repo/$arch

## United States
#Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> Moving old EndeavourOS mirrorlist to /etc/pacman.d/endeavouros-mirrorlist.bak.
==> Writing new ranked EndeavourOS mirrorlist to /etc/pacman.d/endeavouros-mirrorlist.
Root Password: 

[x@x-latitudee5470 ~]$ sudo pacman -Syu
[sudo] password for x: 
error: GPGME error: No data
:: Synchronising package databases...
 endeavouros                                                   12,3 KiB  2,21 KiB/s 00:06 [----------------------------------------------------] 100%
 core is up to date
 extra                                                          7,7 MiB   718 KiB/s 00:11 [----------------------------------------------------] 100%
 multilib is up to date
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)

your issue is similar to this one maybe try what he did

2 Likes

I did $ sudo rm -R /var/lib/pacman/sync
Immediately restarted computer and ran $ yay
upon bootup, everything updated fine, no errors. Thanks for the help.

1 Like

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