# Could not find the db to run the update

**URL:** <https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865>\
**Category:** Newbie\
**Created:** [March 9, 2025, 7:12pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865 "2025-03-09T19:12:50Z")\
**Posts on this page:** 15\
**Page:** 3

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 1:59pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/41 "2025-03-14T13:59:27Z")

</div>

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

```auto
/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

---

<div class="post-metadata">

**Author:** ![keescase](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keescase/32/114900_2.png) [@keescase](https://forum.endeavouros.com/u/keescase)\
**Post date:** [March 14, 2025, 2:30pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/42 "2025-03-14T14:30:59Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 2:33pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/43 "2025-03-14T14:33:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 2:41pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/44 "2025-03-14T14:41:15Z")

</div>

hmm do you mean this one

> [@otrott](#):
>
> ```auto
> cd /etc
> sudo nano pacman.conf
> 
> ```

or this one

```auto
[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…

---

<div class="post-metadata">

**Author:** ![keescase](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keescase/32/114900_2.png) [@keescase](https://forum.endeavouros.com/u/keescase)\
**Post date:** [March 14, 2025, 2:46pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/45 "2025-03-14T14:46:49Z")

</div>

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 .

---

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 3:02pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/46 "2025-03-14T15:02:40Z")

</div>

hello dear keescase 😀

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:

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

```

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

```auto
sudo rm /etc/pacman.conf

```

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

```auto
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:

```auto
sudo pacman -Sy

```

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

---

<div class="post-metadata">

**Author:** ![keescase](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keescase/32/114900_2.png) [@keescase](https://forum.endeavouros.com/u/keescase)\
**Post date:** [March 14, 2025, 3:16pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/47 "2025-03-14T15:16:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 3:24pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/48 "2025-03-14T15:24:54Z")

</div>

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

```auto
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 😀 😊

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

---

<div class="post-metadata">

**Author:** ![keescase](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keescase/32/114900_2.png) [@keescase](https://forum.endeavouros.com/u/keescase)\
**Post date:** [March 14, 2025, 3:34pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/49 "2025-03-14T15:34:43Z")

</div>

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

```auto
sudo cp /etc/pacman.conf ~/Documents

```

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [March 14, 2025, 8:43pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/50 "2025-03-14T20:43:38Z")

</div>

xdg will name in the set language _Documents_ is _Dokumente_ on a german locale system 😉

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [March 14, 2025, 8:47pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/51 "2025-03-14T20:47:56Z")

</div>

`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 😉

---

<div class="post-metadata">

**Author:** ![otrott](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/otrott/32/74074_2.png) [@otrott](https://forum.endeavouros.com/u/otrott)\
**Post date:** [March 14, 2025, 10:17pm UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/52 "2025-03-14T22:17:10Z")

</div>

good evening / guten Abend,

> [@joekamprad](#):
>
> eos-update --aur

this i got back

```auto
[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

---

<div class="post-metadata">

**Author:** ![eznix](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/eznix/32/2043_2.png) [@eznix](https://forum.endeavouros.com/u/eznix)\
**Post date:** [March 15, 2025, 3:14am UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/53 "2025-03-15T03:14:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![joekamprad](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/joekamprad/32/139011_2.png) [@joekamprad](https://forum.endeavouros.com/u/joekamprad)\
**Post date:** [March 15, 2025, 3:20am UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/54 "2025-03-15T03:20:05Z")

</div>

> [@otrott](#):
>
> ```auto
> [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
> 
> ```

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

---

<div class="post-metadata">

**Author:** ![marwell](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/m/e8c25b/32.png) [@marwell](https://forum.endeavouros.com/u/marwell)\
**Post date:** [March 29, 2025, 8:31am UTC](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865/55 "2025-03-29T08:31:09Z")

</div>

That was the solution for me, too!

[Previous page](https://forum.endeavouros.com/t/could-not-find-the-db-to-run-the-update/68865.md?page=2)
