You are not logged in.

#1 2011-03-27 03:44:43

murfMan
Member
Registered: 2009-10-27
Posts: 161

[SOLVED]pacman problem

I am getting the following error when i try to install/upgrade anything with pacman.

error: could not open file /var/lib/pacman/sync/core.db: Failed to open '/var/lib/pacman/sync/core.db'
error: could not open file /var/lib/pacman/sync/extra.db: Failed to open '/var/lib/pacman/sync/extra.db'
error: could not open file /var/lib/pacman/sync/community.db: Failed to open '/var/lib/pacman/sync/community.db'
error: could not open file /var/lib/pacman/sync/archlinuxfr.db: Failed to open '/var/lib/pacman/sync/archlinuxfr.db'

this occurred after i removed: package-query, pacman-color, perl-xyne-arch, powerpill and yaourt.

i removed those because when i tried to upgrade pacman itself i was getting the following error

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<3.5
:: pacman-color: requires pacman=3.4.3
:: perl-xyne-arch: requires pacman<3.5

I am guessing package-query is something i should not have removed?

anyone know how to solve this?


Thanks.

Last edited by murfMan (2011-03-27 04:23:17)

Offline

#2 2011-03-27 03:46:54

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED]pacman problem

You should have removed those, then updated pacman only. Then run pacman-db-upgrade (as root). All should have went well after that.


Matt

"It is very difficult to educate the educated."

Offline

#3 2011-03-27 04:00:45

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: [SOLVED]pacman problem

Thats what i did.  nothing sad

Offline

#4 2011-03-27 04:01:53

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]pacman problem

yup always keep an eye on what the upgrade manager tells you. As mrunion noted, you have to run pacman-db-upgrade because pacman 3.5 uses a different db format than pacman 3.4.x


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2011-03-27 04:11:24

murfMan
Member
Registered: 2009-10-27
Posts: 161

Re: [SOLVED]pacman problem

Ok i managed to get it working sudo pacman-db-upgrade && sudo pacman -Syy did the trick... thx!

Offline

Board footer

Powered by FluxBB