You are not logged in.
Hello everyone,
Everytime I try to install something I get
error: GPGME error: No data
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
I can easily fix this by running pacman -Sy, the thing is that, after I lose my wifi connection, the error returns, and I have to resync pacman again. It's getting pretty annoying.
I obviously have no clue about what is going on, and what to do.
Thank you in advance : )
Last edited by JasonX (2016-02-29 01:04:13)
Offline
Have you tried the things in this thread?
Edit: Specifically, have you tried another mirror?
Last edited by Nagy Balna (2016-02-29 01:31:41)
Offline
Also, you should post your full pacman output, pacman configuration, and mirrors.
Offline
Yesterday I tried
# pacman-key --init
# pacman-key --populate archlinux
Everything ok.
Today I tried to install something and got
error: GPGME error: No data
error: database 'core' is not valid (invalid or corrupted database (PGP signature))
thats the full pacman output.
my pacman.conf is
[options]
HoldPkg = pacman glibc
Architecture = auto
CheckSpace
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
and my mirrorlist is the default when you install arch, but if its important i'll post it
Last edited by JasonX (2016-03-02 20:59:14)
Offline
Same here,
I tried:
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman-key --refresh-keys
With proper output, still the error when i try to update with pacman -Syu. Btw i have to switch my keyserver in /etc/pacman.d/gnupg/gpg.conf to http://p80.pool.sks-keyservers.net:80 because i can only use this port.
Offline
Remove everything in /var/lib/pacman/sync and try using a different mirror. After that, do a $ sudo pacman -Syu and see whether that fixes the problem.
Offline
Is there a good reason that you needed to add the archlinuxfr repo (and also ignore its package signatures?).
Can you post the result of
uname -r
Also, it would be good to see what mirror you are using if the problem persists after raddecen's suggestion.
Offline
uname -r output:
4.4.1-2-ARCH
I deleted the files everytime i changed to different Mirrors (at least 5 mirrors), didn't help. Btw: the .db.sig and .db files are totaly empty.
Found the solution for me: I had a malicious curl command in my pacman.conf. I now use the global http_proxy with username:pw@proxyip:port.
thx anyway
*Edit:
Yesterday i was able to update (uname -r output:
4.4.5-1-ARCH
), but today i get the error again. It seems the problem is connected to my proxy because the content of my .db and .db.sig files are always:
<html>
<script language="javascript">
location.href = "PortalMain";
</script>
<body>
<noscript>
This portal requires browser which support JavaScript.<br>
Please make sure that you are using an updated browser and that JavaScript is enabled.
</noscript>
</body>
</html>
**Edit
Well i manually downloaded wget and installed the tar.xz file with pacman -U, set the pacman.conf xfer command to:
XferCommand = /usr/bin/wget -e use_proxy=yes -e http_proxy=proxyURL:8080 --proxy-user="username" --proxy-password="password" --passive-ftp -c -O %o %u
and for now it works again
Last edited by kayaman (2016-03-15 11:04:38)
Offline
Sorry, I forgot to post:
It solved just by 'switching' to another mirror. It seems I 'accidentally' was using an outdated one -I mean I had # commented the first line so it was using another server-.
Anyway, thank you!!
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline