You are not logged in.

#1 2014-03-29 21:41:33

ephreal
Member
Registered: 2014-03-29
Posts: 35

[SOLVED] Pacman GPGME error: No data

I recently bought a new computer and, of course, wanted to get away from windows 8 asap. I've installed arch several times before, and this time, from the outset, I've been plagued with GPGME errors. First was during the installation when I tried to install the base system with pacstrap. I solved that using the method here: https://bbs.archlinux.org/viewtopic.php?id=142798 (essentially delete /var/lib/pacman/sync and then run pacman -Syyu). From there on out, the install proceeded happily. After booting into my system, I attempted to begin downloading and installing things such as openssh, gparted, virt-manager...etc. Now I get the same error that I had before.

pacman -Syyu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
::Synchronizing package databases. . .
  Core
  Core.sig
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
  extra
  extra.sig
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
  community
  community.sig
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
  multilib
  multilib.sig
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
error: failed to synchronuze any databases
error: failed to init transaction (invalid or corrupted database (PGP signature))

As soon as this happened, I attempted to re initialize pacman and the keys with

 pacman-key --init && pacman-key --populate archlinux 

This ran properly, but I was still unable to sync or update pacman. I then tried deleting /var/lib/pacman/sync and updating with the same result. 
Next, I tried commenting out the mirrors, as that was mentioned in several posts while perusing the wiki. This still did not work. The next ting I tried was setting the SigLevel in the pacman.conf to Never, which brought about a whole host of different errors when trying to update (Unrecognized archive format error).

After reinitializing the keys again, deleting the /var/lib/pacman/sync folder and attempting another (unsuccessful) pacman -Syyu, and running pacman-key --refresh-keys, I set the SigLevel back to it's default, and decided it might be time to post asking for help. Does anyone have any other ideas that I could try? I've been working on this unsuccessfully for a few hours now, and I'd like to see it up and running.

Thank you all in advance!


Searching the archwiki, I tried these threads for additional help:
https://bbs.archlinux.org/viewtopic.php … 2#p1111872 -- had a problem in pacman conf I do not
https://bbs.archlinux.org/viewtopic.php?id=169225 --commenting out mirrors did not work
https://bbs.archlinux.org/viewtopic.php?id=135310 --- did not help with archive errors
..... and many many more that were totally unrelated despite similar titles to mine

Last edited by ephreal (2014-03-29 23:28:46)

Offline

#2 2014-03-29 23:28:09

ephreal
Member
Registered: 2014-03-29
Posts: 35

Re: [SOLVED] Pacman GPGME error: No data

I shutdown my computer, moved to a different network area, and it is now running happily. I have no idea why... perhaps firewall controls? Whatever the reason was, this is no longer happening. Marking as solved.

Offline

Board footer

Powered by FluxBB