#endeavour GPGME error: No data

31 messages · Page 1 of 1 (latest)

tired magnet
#

whenever I run yay or similar, I get the above error (GPGME error: No data)
I have tried the following

rm -r /var/lib/pacman/sync/
sudo reflector --verbose -l 200 -n 20 --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman-key --init
sudo pacman-key --refresh-keys
sudo pacman-key --populate
sudo pacman -Syyu

probably other stuff too, I've been trying most things I find on random online forums, still get the error.
have restarted a bunch of times in between certain steps etc
I am using endeavour

west wyvern
#

make sure your first mirror is whitelisted and then try backing up this file and sudo rm -R /var/lib/pacman/sync

tired magnet
west wyvern
#

er, just not commented out

#

i misspoke on that

tired magnet
#

Oh right yeah I’ve definitely tried that before but I’ll give it another go just for clarity

west wyvern
#

mhm

#

there's a few more things you could try- basically reinstaling the archlinux-keyring

#

basically changing the SigLevel line in pacman.conf to "SigLevel = Never" and then reinstalling gnupg and archlinux-keyring, then changing it back and running an update

#

you would be temporarily disabling something that's supposed to prevent mitm attacks so don't leave that line in your config but if you're just installing those two packages there's not really a huge amount of risk associated

#

make sure you run "pacman-key --refresh-keys" again

#

afterwards

#

hopefully that covers everything

west wyvern
#

hey yeah

#

that

tired magnet
#

just trying now, refreshing keys takes some time
I did see that config thing on the forums but it always seemed like a scary solution xD

tired magnet
west wyvern
#

go for that, normally the steps listed work..

#

is it both pacman and yay doing it or just yay? might need some yay specific steps...

#

they should be connected though

#

not sure why they wouldn't be

tired magnet
#

well sudo pacman -Syu gave the same no data error

#

so I assume both

#

ok so what I'm doing now

  • Fetch new mirrors
  • Delete pacman sync file
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 endeavouros-keyring
sudo mv -f "/etc/pacman.conf.orig" "/etc/pacman.conf"
sudo pacman-key --init
sudo pacman-key --refresh-keys
sudo pacman-key --populate
sudo pacman -Syyu
  • Restart machine
#

ok! progress!
new error fuck yeah xD

resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing smbclient (4.16.4-3) breaks dependency 'smbclient>=4.20.1' required by samba
 -> error installing repo packages

this was after running yay
it also asked Replace python-dbus with extra/dbus-python? [Y/n] y and I just said yeah, asked for another similar thing too

#

ok I might have "fixed" it by just saying no to that python one, and the one before was the smbclient thing, so I said no to that also
not really sure what implications that has but..

west wyvern
#

the dependency thing is just a package requirement - pretty standard

#

so you've fixed the original issue, looks like

tired magnet
#

anyways, thanks for the help, I can finally install stuff again