You are not logged in.

#1 2012-10-04 16:18:30

thea
Member
Registered: 2006-12-22
Posts: 86

[Solved] missing pacman databases

Somehow I am missing critical pacman databases from one of the two computers I have running Arch:

    /var/lib/pacman/core
    /var/lib/pacman/extra
    /var/lib/pacman/community
    /var/lib/pacman/core.db.tar.gz
    /var/lib/pacman/extra.db.tar.gz
    /var/lib/pacman/community.db.tar.gz
    /var/lib/pacman/local.db.tar.gz

There are only two folders in /var/lib/pacman, namely:
    local
    sync

... both populated.

When trying to update (pacman -Syu), or query (pacman -Ss) I get the same error message:
    error: GPGME error: No data

I have looked this error message up in this forums but no problem quite like mine evident. Both machines are updated together, and the one is running just fine.

Thanks

Last edited by thea (2012-10-04 21:52:30)

Offline

#2 2012-10-04 16:20:30

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [Solved] missing pacman databases

Not sure why it is, but did you try 'pacman -Syy' to go get new databases?

Offline

#3 2012-10-04 16:30:42

thea
Member
Registered: 2006-12-22
Posts: 86

Re: [Solved] missing pacman databases

I had tried pacman -Syy earlier in my troubleshooting efforts, to no avail. Just tried it again, with mixed results. Here is my output:

error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...

After that everything appears to be functioning as it should. However the folders and files indicated in my first post are still missing.

Offline

#4 2012-10-04 18:28:52

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [Solved] missing pacman databases

thea wrote:

There are only two folders in /var/lib/pacman, namely:
    local
    sync

... both populated.

So.. what's the problem?

wormzy@sakura[pts/3]~$ ls /var/lib/pacman
local  sync

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2012-10-04 18:38:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] missing pacman databases

This may be way off base, but how about trying pacman-key --init to reinitialize the GPG keyring pacman uses?

Edit: on the folder "issue", I'm with WorMzy. I've only got those two folders, the databases are stored in sync.

Last edited by Scimmia (2012-10-04 18:40:57)

Offline

Board footer

Powered by FluxBB