You are not logged in.

#1 2007-06-24 01:15:15

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

error: invalid name for database entry 'local'

I get this error when trying to upgrade packages. For example:

[root@Arch64PC local]# yaourt -Sy avahi
warning: current locale is invalid; using default "C" locale
:: Synchronizing package databases...
current                   69.7K   64.1K/s 00:00:01 [#####################] 100%
extra                    253.2K   74.9K/s 00:00:03 [#####################] 100%
error: invalid name for database entry 'local'
community                165.7K  145.4K/s 00:00:01 [#####################] 100%
local database is up to date
error: invalid name for database entry 'local'
error: 'avahi': not found in sync db

[root@Arch64PC local]#

Any suggestions?

The /var/lib/pacman/local directory does exist.

Offline

#2 2007-06-24 01:18:34

DarkJesus
Member
Registered: 2007-03-07
Posts: 45

Re: error: invalid name for database entry 'local'

Someone on the channel just solved my problem after about an hour of me asking first. Of course it had to happen just after I made this topic wink .

I just had to delete the other dirs in /var/lib/pacman/ apart from local and sync again.

Thanks wide-eye!

Offline

#3 2007-08-17 18:00:39

Valavien
Member
Registered: 2004-06-12
Posts: 13

Re: error: invalid name for database entry 'local'

So it's safe to remove community current and extra directories including files in here?

Offline

#4 2007-08-17 18:08:24

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: error: invalid name for database entry 'local'

Those get recreated when you synchronize package databases. On the other hand, removing "local" would put you into big troubles ;-)

Last edited by lucke (2007-08-17 18:09:03)

Offline

Board footer

Powered by FluxBB