Problem with updating os (GPGME error)

Hi,
i could update the system without any problem. Now, i get the following meesage:

[reza@home-lin ~]$ sudo pacman -Syu
[sudo] password for reza: 
error: GPGME error: No data
:: Synchronizing package databases...
 endeavouros                                7.5 KiB  14.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: failed to synchronize all databases (unexpected error)

i updated the mirror list but nothing changed :smiling_face_with_tear:

1 Like

Could you post:

file /var/lib/pacman/sync/*

?

It is likely that some mirrors in your /etc/pacman.d/endeavouros-mirrorlist are not functioning.

You could try to re-rank them.

As i write in my post, i updated the mirror list using “reflector simple”.
here is the output of the command:

[reza@home-lin ~]$ file /var/lib/pacman/sync/*
/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 32942080
/var/lib/pacman/sync/multilib.db:        gzip compressed data, from Unix, original size modulo 2^32 655360

Yes, you did.

But you should also know that reflector-simple only refresh Arch’s mirrorlist.

It doesn’t refresh EnOS’ mirrorlist.

The problem is with your EnOS mirrorlist.

reza@home-lin ~]$ cat /etc/pacman.d/endeavouros-mirrorlist
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 06/04/2024 06:04:33 PM.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server = https://mirror.nimatarlani.com/endeavouros/repo/$repo/$arch
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
Server = https://de.freedif.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://ftp.belnet.be/mirror/endeavouros/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.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/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://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.albony.xyz/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Mirror ranking info at (UTC) 06/04/2024 02:34:33 PM:
# 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        2194          0.179931
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              2194          0.359256
# https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch        2194          0.377659
# https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch      2194          0.412933
# https://de.freedif.org/EndeavourOS/repo/$repo/$arch                2194          0.469193
# https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch          2194          0.523624
# https://endeavouros.ip-connect.info/repo/$repo/$arch               2194          0.607167
# https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch           2194          0.628627
# https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch          2194          0.759108
# https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch       2194          0.949844
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            2194          1.036281
# https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch           2194          1.286172
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               2194          1.353143
# https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch            2194          1.579740
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  2194          5.174796
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               2194          5.219354
# https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch     2194          5.286075
# https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch            2194          5.408661
# https://mirror.albony.xyz/endeavouros/repo/$repo/$arch             2194          5.708152

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

### 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://mirror.accum.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

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

Remove this one from the list.

nothing changed :smiling_face_with_tear:

[reza@home-lin ~]$ cat /etc/pacman.d/endeavouros-mirrorlist
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# EndeavourOS mirrorlist, ranked by eos-rankmirrors at 06/04/2024 06:04:33 PM.
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Server = https://mirror.moson.org/endeavouros/repo/$repo/$arch
Server = https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch
Server = https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch
Server = https://de.freedif.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://ftp.belnet.be/mirror/endeavouros/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.archlinux.tw/EndeavourOS/repo/$repo/$arch
Server = https://mirror.alpix.eu/endeavouros/repo/$repo/$arch
Server = https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch
Server = https://mirrors.tuna.tsinghua.edu.cn/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://mirror.freedif.org/EndeavourOS/repo/$repo/$arch
Server = https://mirror.albony.xyz/endeavouros/repo/$repo/$arch

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Mirror ranking info at (UTC) 06/04/2024 02:34:33 PM:
# 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        2194          0.179931
# https://mirror.moson.org/endeavouros/repo/$repo/$arch              2194          0.359256
# https://mirror.accum.se/mirror/endeavouros/repo/$repo/$arch        2194          0.377659
# https://md.mirrors.hacktegic.com/endeavouros/repo/$repo/$arch      2194          0.412933
# https://de.freedif.org/EndeavourOS/repo/$repo/$arch                2194          0.469193
# https://fosszone.csd.auth.gr/endeavouros/repo/$repo/$arch          2194          0.523624
# https://endeavouros.ip-connect.info/repo/$repo/$arch               2194          0.607167
# https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch           2194          0.628627
# https://ftp.belnet.be/mirror/endeavouros/repo/$repo/$arch          2194          0.759108
# https://mirrors.urbanwave.co.za/endeavouros/repo/$repo/$arch       2194          0.949844
# https://mirror.funami.tech/endeavouros/repo/$repo/$arch            2194          1.036281
# https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch           2194          1.286172
# https://mirror.alpix.eu/endeavouros/repo/$repo/$arch               2194          1.353143
# https://mirrors.jlu.edu.cn/endeavouros/repo/$repo/$arch            2194          1.579740
# https://mirrors.tuna.tsinghua.edu.cn/endeavouros/repo/$repo/$arch  2194          5.174796
# https://mirror.jingk.ai/endeavouros/repo/$repo/$arch               2194          5.219354
# https://mirrors.nxtgen.com/endeavouros-mirror/repo/$repo/$arch     2194          5.286075
# https://mirror.freedif.org/EndeavourOS/repo/$repo/$arch            2194          5.408661
# https://mirror.albony.xyz/endeavouros/repo/$repo/$arch             2194          5.708152

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

### 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://mirror.accum.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

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[reza@home-lin ~]$ sudo pacman -Syu
[sudo] password for reza: 
error: GPGME error: No data
:: Synchronizing package databases...
 endeavouros                               15.5 KiB  16.4 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: failed to synchronize all databases (unexpected error)

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

sudo pacman -Syyu

thank you so much! :slightly_smiling_face:

1 Like

You are welcome! Glad you got the issue resolved!

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