# Update problem: error: GPGME error: No data

**URL:** <https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214>\
**Category:** System Administration\
**Created:** [April 8, 2025, 4:50pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214 "2025-04-08T16:50:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![horvjoe](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/h/8e8cbc/32.png) [@horvjoe](https://forum.maboxlinux.org/u/horvjoe)\
**Post date:** [April 8, 2025, 4:50pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/1 "2025-04-08T16:50:30Z")

</div>

Today I tried to continue but as fresh start I always check updates.  
Something gone wrong - but i dont know what - cos I just uninstall asusctl  
Yay gave corrupted database.  
I have tried this line:

```auto
[type or paste code here](https://forum.maboxlinux.org/t/solved-updates-issues/1651)

```

Unsuccessful.

```auto
joe@joe-Asusgx502gw ~ $ yay
[sudo] password for joe: 
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 maboxlinux 22,6 KiB 83,5 KiB/s 00:00 [######################] 100%
 core 141,7 KiB 124 KiB/s 00:01 [######################] 100%
 extra 8,3 MiB 260 KiB/s 00:33 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
 -> error refreshing databases - exit status 1

```

After this I will follow your instructions.  
Thank you.

---

<div class="post-metadata">

**Author:** ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)\
**Post date:** [April 8, 2025, 5:20pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/2 "2025-04-08T17:20:17Z")

</div>

_I wonder how this could have happened… Power outage during update…?_ 🤔

It’s a very difficult situation, like Catch-22.  
You can’t repair the database without installing packages - you can’t install packages because the database is corrupted.

Only the nuclear option remains.

Based on ["error: GPGME error: No data" when I'm trying to update - #6 by lectrode - Support - Manjaro Linux Forum](https://forum.manjaro.org/t/error-gpgme-error-no-data-when-im-trying-to-update/77339/6) modified for Mabox.

> The 5 lines of code below should resolve the issue. They essentially do the following:
> 
> - backup current pacman.conf
> - turn off all signature checks
> - download/install gnupg and keyring packages (ignore manjaro-system updates for now)
> - restore original pacman.conf settings (which turns signature checks back on)
> - update system

```auto
sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring mabox-keyring --ignore manjaro-system
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
sudo pacman -Syu

```

---

<div class="post-metadata">

**Author:** ![horvjoe](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/h/8e8cbc/32.png) [@horvjoe](https://forum.maboxlinux.org/u/horvjoe)\
**Post date:** [April 8, 2025, 5:35pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/3 "2025-04-08T17:35:33Z")

</div>

I dont know really… I just made yay - as usual.

```auto
type or paste code here
joe@joe-Asusgx502gw ~ $ sudo cp -f "/etc/pacman.conf" "/etc/pacman.conf.orig"
sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring mabox-keyring --ignore manjaro-system
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
sudo pacman -Syu
[sudo] password for joe: 
:: Synchronizing package databases...
 maboxlinux 22,7 KiB 85,4 KiB/s 00:00 [######################] 100%
 core 141,7 KiB 191 KiB/s 00:01 [######################] 100%
 extra 8,3 MiB 514 KiB/s 00:17 [######################] 100%
warning: gnupg-2.4.7-1 is up to date -- reinstalling
warning: archlinux-keyring-20250123-1 is up to date -- reinstalling
warning: manjaro-keyring-20230719-3 is up to date -- reinstalling
warning: mabox-keyring-20250112-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (4) archlinux-keyring-20250123-1 gnupg-2.4.7-1
             mabox-keyring-20250112-1 manjaro-keyring-20230719-3

Total Download Size: 4,05 MiB
Total Installed Size: 11,79 MiB
Net Upgrade Size: 0,00 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mabox-keyring-20... 10,8 KiB 142 KiB/s 00:00 [######################] 100%
 manjaro-keyring-... 89,9 KiB 99,6 KiB/s 00:01 [######################] 100%
 archlinux-keyrin... 1206,9 KiB 265 KiB/s 00:05 [######################] 100%
 gnupg-2.4.7-1-x86_64 2,8 MiB 372 KiB/s 00:08 [######################] 100%
 Total (4/4) 4,1 MiB 544 KiB/s 00:08 [######################] 100%
(4/4) checking keys in keyring [######################] 100%
(4/4) checking package integrity [######################] 100%
(4/4) loading package files [######################] 100%
(4/4) checking for file conflicts [######################] 100%
(4/4) checking available disk space [######################] 100%
:: Processing package changes...
(1/4) reinstalling gnupg [######################] 100%
(2/4) reinstalling archlinux-keyring [######################] 100%
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2025-06-16
(3/4) reinstalling manjaro-keyring [######################] 100%
==> Appending keys from manjaro.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signed 3 keys.
==> Importing owner trust values...
==> Updating trust database...
gpg: next trustdb check due at 2025-06-16
(4/4) reinstalling mabox-keyring [######################] 100%
==> Appending keys from mabox.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2025-06-16
:: Running post-transaction hooks...
(1/5) Reloading system manager configuration...
(2/5) Reloading user manager configuration...
(3/5) Restarting marked services...
(4/5) Arming ConditionNeedsUpdate...
(5/5) Updating the info directory file...
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 maboxlinux is up to date
 core 141,7 KiB 246 KiB/s 00:01 [######################] 100%
 extra 8,3 MiB 571 KiB/s 00:15 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
```

---

<div class="post-metadata">

**Author:** ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)\
**Post date:** [April 8, 2025, 5:54pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/4 "2025-04-08T17:54:51Z")

</div>

Try:

```auto
sudo pacman-key --init

```

---

<div class="post-metadata">

**Author:** ![horvjoe](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/h/8e8cbc/32.png) [@horvjoe](https://forum.maboxlinux.org/u/horvjoe)\
**Post date:** [April 8, 2025, 6:09pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/5 "2025-04-08T18:09:28Z")

</div>

```auto
joe@joe-Asusgx502gw ~ $ sudo pacman-key --init
[sudo] password for joe: 
joe@joe-Asusgx502gw ~ $ yay
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 maboxlinux is up to date
 core 141,7 KiB 151 KiB/s 00:01 [######################] 100%
 extra 8,3 MiB 535 KiB/s 00:16 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
 -> error refreshing databases - exit status 1

```

---

<div class="post-metadata">

**Author:** ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)\
**Post date:** [April 8, 2025, 6:13pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/6 "2025-04-08T18:13:59Z")

</div>

I’m out of ideas. Maybe you can find a solution using the search engine here on the forum - there are a few similar topics :), or on the Internet.

> **[Pacman troubleshooting](https://wiki.manjaro.org/index.php/Pacman_troubleshooting)**

The same GPGME error problem is here…

> **[Pacman troubleshooting](https://wiki.manjaro.org/index.php/Pacman_troubleshooting#.22GPGME_error:_No_data.22_Error)**

---

<div class="post-metadata">

**Author:** ![horvjoe](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/h/8e8cbc/32.png) [@horvjoe](https://forum.maboxlinux.org/u/horvjoe)\
**Post date:** [April 8, 2025, 6:35pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/7 "2025-04-08T18:35:29Z")

</div>

Before I wrote I have tried - Im sure not all of them, but. I have tried.  
I tried the links - and the suggestions. CLI is full of gpg errors.

I think every problem has a solution, but in this case I am lack of knowledge. I dont beleive that I will find the solution. I will reinstall.

Thank you. 🙂

---

<div class="post-metadata">

**Author:** ![Claudio](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/claudio/32/2830_2.png) [@Claudio](https://forum.maboxlinux.org/u/Claudio)\
**Post date:** [April 9, 2025, 3:06pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/8 "2025-04-09T15:06:45Z")

</div>

Hi, what kernel are you using, just today I tried with 5.10… and I could not update, it gave error, it is corrected using 6.12…  
As for the keys, follow the process that @napcok mentioned in manjaro.  
I was having those problems until a couple of days ago and this is what I did:

```auto
sudo mv /etc/pacman.d/gnupg{,.old}
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
sudo pacman-key --keyserver hkps://sks.pod02.fleetstreetops.com --refresh-keys
sudo sh -c 'echo keyserver hkps://sks.pod02.fleetstreetops.com >> /etc/pacman.d/gnupg/gpg.conf'
echo keyserver hkps://sks.pod02.fleetstreetops.com >> ~/.gnupg/gpg.conf

```

And mirrors

```auto
sudo pacman-mirrors -c all
pacman-mirrors -l
sudo pacman-mirrors -f 5 
sudo pacman -Syy

```

This is what helped me to upgrade my system and solved all the problems I was having in that area.  
Good luck to you

---

<div class="post-metadata">

**Author:** ![horvjoe](https://forum.maboxlinux.org/letter_avatar_proxy/v4/letter/h/8e8cbc/32.png) [@horvjoe](https://forum.maboxlinux.org/u/horvjoe)\
**Post date:** [April 9, 2025, 4:25pm UTC](https://forum.maboxlinux.org/t/update-problem-error-gpgme-error-no-data/2214/9 "2025-04-09T16:25:30Z")

</div>

> [@napcok](#):
>
> ```auto
> sudo sed -i 's/SigLevel.*/SigLevel = Never/' /etc/pacman.conf
> sudo pacman -Syy gnupg archlinux-keyring manjaro-keyring mabox-keyring --ignore manjaro-system
> sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
> sudo pacman -Syu
> 
> ```

I use 6.6.84-1  
Tried this one too, but not working. I will reinstall. Not a big deal. Thank you 🙂
