Error: GPGME error: No data error: failed to synchronize all databases

Sorry about the bump. I have exactly the same problem and have followed all the advice, run all the commands, edited and re-edited pacman.conf right up to and including the last suggestion from @manuel. My other Endeavorous install is on my laptop and is fine, the difference being that the laptop gets updated every day as it’s in constant use. The PC I am using was last updated on 24th May. I’ve completely cleared my cache files. I am thinking a re-install might be quicker. Any new suggestions?

1 Like

Can we see some output:

  1. sudo pacman -Syu

  2. file /var/lib/pacman/sync/*

  3. cat /etc/pacman.d/endeavouros-mirrorlist

?

1

endeavouros             7.5 KiB  13.3 KiB/s 00:01 [----------------------] 100%
 core is up to date
 extra is up to date
 multilib is up to date
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (unexpected error)

2

/var/lib/pacman/sync/core.db:            gzip compressed data, from Unix, original size modulo 2^32 593920
/var/lib/pacman/sync/endeavouros.db:     HTML document, ASCII text, with very long lines (4070)
/var/lib/pacman/sync/endeavouros.db.sig: HTML document, ASCII text, with very long lines (4070)
/var/lib/pacman/sync/extra.db:           gzip compressed data, from Unix, original size modulo 2^32 32931840
/var/lib/pacman/sync/multilib.db:        gzip compressed data, from Unix, original size modulo 2^32 655360
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 18/06/24 17:59:06.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server = https://mirror.nimatarlani.com/endeavouros/repo/$repo/$arch
Server = https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
Server = https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch
Server = https://endeavouros.ip-connect.info/repo/$repo/$arch
Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
Server = https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch
Server = https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch
Server = https://mirror.funami.tech/endeavouros/repo/$repo/$arch
Server = https://mirror.albony.xyz/endeavouros/repo/$repo/$arch
Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://de.freedif.org/EndeavourOS/repo/$repo/$arch
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

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Mirror ranking info at (UTC) 18/06/24 16:59:06:
# 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.nimatarlani.com/endeavouros/repo/$repo/$arch        <!DOCTYPE     html>       0.573109
# https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch          2205          0.144055    
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               2205          0.184274    
# https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch      2205          0.221183    
# https://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch         2205          0.234854    
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              2205          0.282090    
# https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch          2205          0.397458    
# https://endeavouros.ip-connect.info/repo/$repo/$arch               2205          0.407949    
# https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch           2205          0.515776    
# https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch     2205          0.639462    
# https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch       2205          0.935217    
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            2205          0.948824    
# https://mirror.albony.xyz/endeavouros/repo/$repo/$arch             2205          0.981279    
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               2205          1.011319    
# https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch           2205          1.400747    
# https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch            2205          2.104384    
# https://de.freedif.org/EndeavourOS/repo/$repo/$arch                2205          2.856842    
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  2205          3.108559    
# https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch            2205          3.616300    
# https://mirror.sjtu.edu.cn/endeavouros/repo/$repo/$arch            2205          5.448429    

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

### 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.
######################################################

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

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

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

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

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

## Iran
#Server = https://mirror.nimatarlani.com/endeavouros/repo/$repo/$arch

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

## Singapore
#Server = https://mirror.jingk.ai/endeavouros/repo/$repo/$arch
#Server = https://mirror.freedif.org/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://ftp.acc.umu.se/mirror/endeavouros/repo/$repo/$arch

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

## Ukraine
#Server = https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch
#Server = https://endeavouros.ip-connect.info/repo/$repo/$arch

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

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 Like

Also:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc dracut kernel-install-for-dracut eos-dracut
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#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-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Edit your /etc/pacman.d/endeavouros-mirrorlist and remove the line above.

Refresh your Arch’s mirrorlist:

reflector --latest 7 --sort rate --protocol https | sudo tee /etc/pacman.d/mirrorlist

Then:

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

sudo pacman -Syu

3 Likes

Perfect! :smiley: Thank you so much!

1 Like

Thanks for this very helpfully post, I had exact same error and your solutions also solved my error

2 Likes

Please consider marking as solution, the actual post giving the solution.

This will make it to show in the first post of the thread and thus other users with the same issue can get to the solution with one click.

1 Like

Woops! Now done.

1 Like

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