You are not logged in.

#1 2013-05-24 16:27:49

cardinal-biggles
Member
Registered: 2013-05-24
Posts: 17

GPGME error when updating package cache

For some odd reason when I update my package cache (sorry if I'm using the wrong terminology; I'm new to Arch, came from Ubuntu) it throws the error:

error: GPGME error: No data

So now I can't install anything.

Since I have a crappy internet connection, sometimes it would fail to connect to mirrors.aggregate.org, and it downloaded [core] just fine.
So I disable it in /etc/pacman.d/mirrorlist and it still didn't work.

So what's my problem and how do I fix it? I really would like to be able to install things hmm

Here is the full output of the command:

$ sudo pacman -Syy
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 core                     103.7 KiB   768K/s 00:00 [######################] 100%
error: GPGME error: No data
error: failed to update core (invalid or corrupted database (PGP signature))
 extra                   1428.0 KiB  1107K/s 00:01 [######################] 100%
error: GPGME error: No data
error: failed to update extra (invalid or corrupted database (PGP signature))
 community               1943.5 KiB   955K/s 00:02 [######################] 100%
error: GPGME error: No data
error: failed to update community (invalid or corrupted database (PGP signature))
error: failed to synchronize any databases
error: failed to init transaction (invalid or corrupted database (PGP signature))

Offline

#2 2013-05-24 16:42:15

cardinal-biggles
Member
Registered: 2013-05-24
Posts: 17

Re: GPGME error when updating package cache

Never mind. I disabled the first two mirrors instead of just the first and it worked fine.

Offline

#3 2013-05-24 17:20:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: GPGME error when updating package cache

Did you ever make any changes to your mirrorlist file? If not it may be trying to use a mirror that is waaaayyy far away from you. The generation of optimum mirrors is dependent on where the list is generated from. So the package provided mirrorlist is simply optimized from one particlaur dev's location.

Look into reflector and rankmirrors. They are great tools.

Offline

#4 2013-05-28 23:34:39

cardinal-biggles
Member
Registered: 2013-05-24
Posts: 17

Re: GPGME error when updating package cache

WonderWoofy wrote:

Did you ever make any changes to your mirrorlist file? If not it may be trying to use a mirror that is waaaayyy far away from you. The generation of optimum mirrors is dependent on where the list is generated from. So the package provided mirrorlist is simply optimized from one particlaur dev's location.

Look into reflector and rankmirrors. They are great tools.

I did change my mirrorlist file. I commented out the offending mirors and it worked fine.

I'll look into those programs. Thanks.

Last edited by cardinal-biggles (2013-05-28 23:36:16)

Offline

Board footer

Powered by FluxBB