You are not logged in.

#1 2013-09-27 21:33:01

jmgilman
Member
Registered: 2012-10-12
Posts: 19

Corrupted Database Problem

Greetings,

I'm getting the following error running the base system installer:

root@archiso ~ # pacstrap -i /mnt base
==> Creating install root at /mnt
==> Installing packages to /mnt
error: GPGME error: No data
:: Synchronizing package databases..
core is up to date
extra is up to date
community is up to date
error: database 'extra' is not valid (invalid or corrupted database (PGP signature))
==> ERROR: Failed to install packages to new root

I've already tried updating the keyring:

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

As well as changing around the mirrors in my mirrorlist and re-syncing with:

pacman -Syy

Running out of ideas and been scowering Google for an hour now with no result. Any help is appreciated. Cheers.

Offline

#2 2013-09-27 21:34:23

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Corrupted Database Problem

Just a shot in the dark, but have you tried a different mirror?

Edit: reading fail.

Last edited by alphaniner (2013-09-27 21:34:54)


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2013-09-27 21:40:30

bjornoslav
Member
Registered: 2011-11-01
Posts: 137

Re: Corrupted Database Problem

Check the system time. Incorrect time and date cause problems with pacman because it can't verify the GPG keys properly.


asus ux303la, core i5@1.6ghz, 8 gb ram, 500gb hdd, hd4400 gpu, crux x64 with openbox

Offline

#4 2013-09-27 21:41:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Corrupted Database Problem

I don't have first hand experience with this - but by analogy to a corrupted download for a package, I'd delete the local copy of the sync database at /var/lib/pacman/sync/extra.db.

I think -Syy should overwrite it anyway, but this could be worth a shot.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2013-09-27 21:51:55

jmgilman
Member
Registered: 2012-10-12
Posts: 19

Re: Corrupted Database Problem

bjornoslav wrote:

Check the system time. Incorrect time and date cause problems with pacman because it can't verify the GPG keys properly.

System time is fine.

Also tried deleting the extra DB file, same error persists.

Offline

#6 2013-09-27 22:03:51

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Corrupted Database Problem

Post your mirrorlist.

Offline

#7 2013-09-28 11:33:52

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: Corrupted Database Problem

Does this properly output a list of files?

tar zxfv /var/lib/pacman/sync/core.db -O >/dev/null

Offline

Board footer

Powered by FluxBB