You are not logged in.

#1 2013-03-11 02:48:22

solace
Member
Registered: 2013-03-11
Posts: 4

error: could not open the file /var/lib/pacman/sync/.....

Heya Arch Forums,

So it's my first time installing and I've made it to the point were I'm ready to install X11.
When I run "pacman -S xorg-server xorg-xinit xorg-server-utils" my console returns the following errors:

error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format 
error: could not open file /var/lib/pacman/sync/multilib.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/core.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/extra.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community-testing.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/community.db: Unrecognized archive format
error: could not open file /var/lib/pacman/sync/testing.db: Unrecognized archive format
These errors repeat again followed by:
error: target not found: xorg-twm

I'm in Canada, so I've only set my mirror list to use "Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/$arch"

Also, in my /etc/pacman.conf all SigLevel's are = Never.

Thanks for any replies.

Offline

#2 2013-03-11 02:51:30

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,318

Re: error: could not open the file /var/lib/pacman/sync/.....

Did you run pacman -Syu before attempting to install new packages?

Also, seeing that is a first time install, are you certain that you want to enable the testing and community-testing repos?

Last edited by skunktrader (2013-03-11 02:54:27)

Offline

#3 2013-03-11 02:54:42

solace
Member
Registered: 2013-03-11
Posts: 4

Re: error: could not open the file /var/lib/pacman/sync/.....

skunktrader wrote:

Did you run pacman -Syu before attempting to install new packages?

Thanks for the quick reply smile

Yes, however pacman -Syu as well as pacman -Syyu return the same errors.

Offline

#4 2013-03-11 03:00:42

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 910

Re: error: could not open the file /var/lib/pacman/sync/.....

pacman-db-upgrade
pacman -Syyu

try others mirrors

Last edited by Jristz (2013-03-11 03:00:56)


Well, I suppose that this is somekind of signature, no?

Offline

#5 2013-03-11 03:10:23

solace
Member
Registered: 2013-03-11
Posts: 4

Re: error: could not open the file /var/lib/pacman/sync/.....

Jristz wrote:

pacman-db-upgrade
pacman -Syyu

try others mirrors

Same result on pacman -Syyu

8 other mirrors either
A) Returned the same error
B) Failed to download and resulted in an error

Offline

#6 2013-03-11 03:16:50

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

Re: error: could not open the file /var/lib/pacman/sync/.....

Is /var on a separate partition and if so, is it mounted?

Offline

#7 2013-03-11 03:18:13

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 910

Re: error: could not open the file /var/lib/pacman/sync/.....

and delete the archives .db and rerun the pacman -Syyu

but...you use pacman 4.0.3 right?


Well, I suppose that this is somekind of signature, no?

Offline

#8 2013-03-11 03:27:04

solace
Member
Registered: 2013-03-11
Posts: 4

Re: error: could not open the file /var/lib/pacman/sync/.....

/var is on the same partition (so yes, it is mounted).

pacman --version returned Pacman v4.0.3 - libalpm v7.0.3

Deleted everything in /var/lib/pacman/sync, re-ran the commands....still getting this error neutral

Offline

#9 2013-03-25 11:04:04

argos.void
Member
Registered: 2010-07-18
Posts: 28

Re: error: could not open the file /var/lib/pacman/sync/.....

Same here.


"The old UNIX hackers never die, they only turn to zombie processes"

Offline

Board footer

Powered by FluxBB