Could not find the db to run the update

hello dear Joe
hello dear all

first of all - many many thanks for the awesome help.

since i have told you allready that i have these kind of errors on several notebooks - see here one that is also updated very very seldom - so here i have all the same issues but note: there is a different behavior i guess i did miss something in the steps - see
the output that is slightly diffferent to the other ones

/tmp/pacman.conf                  100%[===========================================================>]   3,04K  --.-KB/s    in 0s      

2025-03-14 14:52:09 (31,6 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

--2025-03-14 14:52:09--  https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com)
 185.199.109.133, 185.199.108.133, 185.199.110.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443 
 verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet 
 200 OK
LĂ€nge: 3111 (3,0K) [text/plain]
Wird in »/tmp/pacman.conf« gespeichert.

/tmp/pacman.conf                  100%[===========================================================>]   3,04K  --.-KB/s    in 0s      

2025-03-14 14:52:09 (12,0 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

[root@x220 martin]# LANG=C pacman -Qs electron | grep "local/electron"
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
[root@x220 martin]# LANG=C pacman -Qs electron | grep "local/electron"
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
[root@x220 martin]# 
wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf && sudo cp /tmp/pacman.conf /etc/
--2025-03-14 14:53:41--  https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com)
 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443 
 verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet 
 200 OK
LĂ€nge: 3111 (3,0K) [text/plain]
Wird in »/tmp/pacman.conf« gespeichert.

/tmp/pacman.conf                  100%[===========================================================>]   3,04K  --.-KB/s    in 0s      

2025-03-14 14:53:41 (25,9 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

[root@x220 martin]# ` sudo pacman -R electron28 electron29 electron30`
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: Ziel nicht gefunden: electron28
Fehler: Ziel nicht gefunden: electron29
Fehler: Ziel nicht gefunden: electron30
[root@x220 martin]#  sudo pacman -R electron28 electron29 electron30
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: Ziel nicht gefunden: electron28
Fehler: Ziel nicht gefunden: electron29
Fehler: Ziel nicht gefunden: electron30
[root@x220 martin]#  sudo pacman -R electron25 electron28 electron29 electron30
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: Ziel nicht gefunden: electron25
Fehler: Ziel nicht gefunden: electron28
Fehler: Ziel nicht gefunden: electron29
Fehler: Ziel nicht gefunden: electron30
[root@x220 martin]#

hmm - what can i do here - what todo to fix the issues here.

many thanks in advance

Well the way i see it you will have to copy the pacman.conf to /etc/ to begin with.

1 Like

aaah okay - so i have to startt with the pacman.conf to /etc/


i will try to do so - and come back to show what goes on..
thank you very much!!

hmm do you mean this one

or this one

[root@x220 martin]# wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf && sudo cp /tmp/pacman.conf /etc/
--2025-03-14 15:39:46--  https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com)
 185.199.110.133, 185.199.111.133, 185.199.109.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443 
 verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet 
 200 OK
LĂ€nge: 3111 (3,0K) [text/plain]
Wird in »/tmp/pacman.conf« gespeichert.

/tmp/pacman.conf                  100%[===========================================================>]   3,04K  --.-KB/s    in 0s      

2025-03-14 15:39:47 (25,4 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

[root@x220 martin]# wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf && sudo cp /tmp/pacman.conf /etc/
--2025-03-14 15:39:52--  https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
CA-Zertifikat »/etc/ssl/certs/ca-certificates.crt« wurde geladen
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com)
 185.199.108.133, 185.199.110.133, 185.199.111.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443 
 verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet 
 200 OK
LĂ€nge: 3111 (3,0K) [text/plain]
Wird in »/tmp/pacman.conf« gespeichert.

/tmp/pacman.conf                  100%[===========================================================>]   3,04K  --.-KB/s    in 0s      

2025-03-14 15:39:53 (33,2 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

[root@x220 martin]#

which pacman.conf thing sould i take care


Well to be safe copy the one that is in etc to another place like documents or something.
Than copy the one in /tmp to /etc after deleting the one in /etc .

1 Like

hello dear keescase :grinning_face:

first of all - many many thanks!

well i try to replicate the steps that i Need to do:

in order to follow your advice step by step - here what i have understnd to o in terminal:

Step 1: i need to backup the existing pacman.conf
that means before replacing the current /etc/pacman.conf, ill make a backup by copying it to my Documents folder:

sudo cp /etc/pacman.conf ~/Documents/pacman.conf.backup

Step 2: here i will remove the old pacman.conf from /etc/

sudo rm /etc/pacman.conf

Step 3: now here i copy the downloaded pacman.conf from /tmp/ to /etc/

sudo cp /tmp/pacman.conf /etc/

Step 4: Verify the file was copied correctly

ls -l /etc/pacman.conf

If the output lists /etc/pacman.conf, then it has been successfully replaced.

Step 5: now i have to Update the mirror list and package databases

and that said after replacing pacman.conf, update the mirrors and package database:

sudo pacman -Sy

Ă­s this correct should i just go with these steps..!?

It’s nice that you want to do it from the terminal but I think it would be safer just to do it with using dolphin and copy and paste that way. But that is maybe just me.

1 Like

thank you very very much - well with the very first command i run into error

2025-03-14 15:39:53 (33,2 MB/s) - »/tmp/pacman.conf« gespeichert [3111/3111]

[root@x220 martin]# sudo cp /etc/pacman.conf ~/Documents/pacman.conf.backup
cp: regulÀre Datei '/root/Documents/pacman.conf.backup' kann nicht angelegt werden: Datei oder Verzeichnis nicht gefunden
[root@x220 martin]#

the file and the folder could not be found 
 duhhh :grinning_face: :blush:

so - in other words - in the very first steps i have issues. now i am a bit confuesd


If you try this than your file will be copied to documents with the name pacman.conf no need to give it another name I think

sudo cp /etc/pacman.conf ~/Documents

xdg will name in the set language Documents is Dokumente on a german locale system :wink:

wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
sudo cp /etc/pacman.conf /etc/pacman.conf.bak
sudo cp /tmp/pacman.conf /etc/pacman.conf

eos-update --aur

Alles geht wieder :wink:

2 Likes

good evening / guten Abend,

this i got back

[martin@x220 ~]$ su
Passwort: 
[root@x220 martin]# wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
/tmp/pacman.conf: Keine Berechtigung
[root@x220 martin]# wget -O /tmp/pacman.conf https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/refs/heads/main/pacman.conf
/tmp/pacman.conf: Keine Berechtigung
[root@x220 martin]# 
sudo cp /etc/pacman.conf /etc/pacman.conf.bak
[root@x220 martin]# sudo cp /tmp/pacman.conf /etc/pacman.conf
[root@x220 martin]#  eos-update --aur
eos-update: package updater with additional features
Updating native and AUR apps...
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
:: Paketdatenbanken werden synchronisiert 

 endeavouros                                          12,4 KiB  49,0 KiB/s 00:00 [----------------------------------------------] 100%
 core                                                116,8 KiB   188 KiB/s 00:01 [----------------------------------------------] 100%
 extra                                                 7,7 MiB   813 KiB/s 00:10 [----------------------------------------------] 100%
 multilib                                            132,5 KiB   181 KiB/s 00:01 [----------------------------------------------] 100%
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: Keine Datenbank konnte synchronisiert werden (UngĂŒltige oder beschĂ€digte Datenbank (PGP-Signatur))
[root@x220 martin]#

guess that i am allmost there but - a tiny little bit seems to be missing here

dear Doktor - dear all - many thanks for all your help especially for the hints regarding the command line; i am very glad that you encourange me to go this way.
and i think this is so great _ we can solve the issues on command line.

i am needing a solution for these db-issues that i am struggling so often. I guess that this thread is the one - where we can work out a great solution that fits for all that cases.

and now back to the concrete moment: at the moment i guess that i have done something wrong with your commands - dear Doctor..

i will retry all that now
 i think that i have made some errors

Others who received the error: Error: GPGME Error: No Data (in German: Fehler: GPGME-Fehler: Keine Daten)

Possible solution from older Arch forum thread:
Solved by deleting everything in /var/lib/pacman/sync/, restarting and using pacman -Syu

Side note: no reason to use su and then issue commands with sudo. Just an FYI. :slight_smile:

1 Like

sehr seltsam / very strange

in this case issue is that it was not able to save the new pacman.conf in /tmp seems it was there already , and the issue is what @eznix mentioning now pacman.conf should be okay now

1 Like

That was the solution for me, too!