You are not logged in.

#1 2010-04-20 15:09:50

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

[SOLVED] pacman error: could not open file /var/lib ...

the actual error is

error: could not open file /var/lib/pacman/sync/community/fonteditfs-1.2-2/desc: No such file or directory

removing that folder fixed it. i dont know if it was a coding mistake or just my box did something stupid today :S

any thoughts?

Last edited by eldragon (2010-04-20 17:25:18)

Offline

#2 2010-04-20 15:19:28

jurkan
Member
From: Germany
Registered: 2010-04-03
Posts: 23

Re: [SOLVED] pacman error: could not open file /var/lib ...

I think pacman was aborted once so he couldn't write this file properly. I had such problems for this reason when a disk of a test system ran out of space during sync.

Offline

#3 2010-04-20 15:33:03

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: [SOLVED] pacman error: could not open file /var/lib ...

hmm, i dont know about pacman failing. and my / is not full either.

what i ask is: was removing the folder the right choice? is any other thing i should do to have this in working order?

Offline

#4 2010-04-20 16:44:16

geniuz
Member
Registered: 2010-04-10
Posts: 127

Re: [SOLVED] pacman error: could not open file /var/lib ...

I don't know if this error occured during an update of right after you've invoked pacman, but in any way synchronizing pacman I think should fix the issue. This is something you might have tried before deleting the file, but then again I don't know when the error occured. If it occured immediately deleting the file would probably be the easiest solution. I would've done the same.

If you've synchronized pacman after you've removed the file all should be well now, maybe something indeed went wrong during an update (maybe your mirror went down or something, you never know).

Offline

#5 2010-04-20 16:53:31

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: [SOLVED] pacman error: could not open file /var/lib ...

geniuz wrote:

I don't know if this error occured during an update of right after you've invoked pacman, but in any way synchronizing pacman I think should fix the issue. This is something you might have tried before deleting the file, but then again I don't know when the error occured. If it occured immediately deleting the file would probably be the easiest solution. I would've done the same.

If you've synchronized pacman after you've removed the file all should be well now, maybe something indeed went wrong during an update (maybe your mirror went down or something, you never know).

yes, the error apperared right after syncing the databases. the update went as expected...

Offline

#6 2010-04-20 17:15:20

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: [SOLVED] pacman error: could not open file /var/lib ...

Run pacman -Syy to resync.

Offline

#7 2010-04-20 17:25:02

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: [SOLVED] pacman error: could not open file /var/lib ...

Pierre wrote:

Run pacman -Syy to resync.

this recreated the folder. thanks (fixed)

Offline

Board footer

Powered by FluxBB