Updating command "sudo pacman -Syu" fails

Hallo!
I am new to Linux and very happy to be here! :smile:
I have recently got Manjaro in my Minisforum PC. Installation went smooth and all runs well.
But now… :thinking:
If I run: sudo pacman -Syu in the terminal, I got the following message:

error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases…

  • core 166.3 KiB 875 KiB/s 00:00 [###########] 100%*
  • extra 1861.3 KiB 15.9 MiB/s 00:00 [###########] 100%*
  • community 7.1 MiB 48.1 MiB/s 00:00 [###########] 100%*
  • multilib 174.3 KiB 5.67 MiB/s 00:00 [###########] 100%*
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: GPGME error: No data
    error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

I already tried the steps suggested in this guide: /error-gpgme-error-no-data-when-im-trying-to-update/77339/6 :pensive:

I just would like to know if my system is up-to-date to the most recent stable version of Manjaro, and all is fine. Thank you! :+1:

1 Like

Hi @mzoli, and welcome!

You don’t have to worry about the GPME errors. You can ignore them. However, if you want more information, look here:

Regarding

It looks like your database is out of date. You can use pacman-mirrors to update it when necessary:

pacman-mirrors --fasttrack 5

This will select the 5 fastest mirrors for you.

Then you need to update, either with pacman or I recommend using pamac:

pamac upgrade --enable-downgrade --aur --devel

I recommend pamac instead of pacman because it’s developed by Manjaro (devs) for Manjaro and just takes care of more things for you. For more information, see the man page:

man pamac

@linux-aarhus and @Mirdarthos many thanks! :magic_wand:
so quick support, amazing guys in this community :+1:
the command sudo pacman -Syyu is now working fine. Great

So how can I use only PAMAC by default?

By doing it yourself, typing pamac instead of pacman.

:wink:

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