No way to update - GPGME error: no data

Hi there! a couple of days ago i started to get this message everytime i try to update. (see enclosed screenshot) both in GUI or the terminal.


i can update the flatpaks but not the manjaro repository or AUR updates. how can i fix it.
and this what i get in the terminal

start with this:

remove the community repo from /etc/pacman.conf

change this:

[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

to this:

#[community]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

or
just delete those three lines

or
properly merge the .pacnew file
/etc/pacman.conf.pacnew with the existing one

then run:
sudo pacman-mirrors -f
to refresh the list of mirrors

and please! avoid screenshots - use text and copy/paste and description
or use a pastebin service to publish the pictures and link to them here

i’m trying and i’m sure i’m not doing it the correct way because it doesn’t give me anything. every time i reach the word conf the text turns red.

What’s your desktop?
KDE?

then use kate to open the file

or use nano in a terminal

sudo nano /etc/pacman.conf

gnome
desktop

i’m on gnome desktop

It was meant as a hint to use kate. It would have been easier for you.
I don’t know how the default Gnome text editor behaves - whether it works the same as kate in KDE.
How about this, then?

now works and that’s what i got.

(screenshot of the file opened in nano was here …
removed by @Nachlese )

where do i go from here?

don’t use screenshots!

scroll down to the end, there you find the lines I mentioned

put a # in front of each of the three, then save and quit the editor

i’ll do my best. thank you very much for your support. you have to remmeber you’re dealing with a 65 years old x truck driver :laughing: and not a computer nerd. though i’m not afraid of the challege.

what about the core and extra? they also miss the # in front.

These need to stay.
These don’t “miss” the hash mark.

The hash mark in front is the same as saying: ignore this line

The effect is the same as if you would remove the line - without removing it …

Only do this to the three lines referring to community repo!

anyway, i tried to update and failed again.

sudo pacman-mirrors -f
sudo pacman -Syu

show the output of the second one - copy/paste please, no screenshot
use </> in the top row of the edit window here to format the text

i get GPGME error: no data

From here on I’ll let others take over -
but this is an issue that has been dealt with hundreds of times here on the forum and you should find solutions to it by searching.

I’d need to search myself to give advice - don’t have personal experience in recent memory with this to draw on.

i’d like to thank you for your efforts. i have this system running on this computer for over 4 years without any serious problems. i believe i’m getting very nere the solution. the problem here is that sometimes i don’t really understand the answers by reading them. it happens very seldom but sometimes i need step by step guidness. thanks a lot!

I adjusted the title of your thread to include the current error message, so people will immediately know what this is about.

thanks!

try this one:

GPGME errors when using pacman - #3 by Aragorn

Link in the third (solution) post goes here:

[root tip] [How To] Mitigate and prevent GPGME error when syncing your system

2 Likes