You are not logged in.

#1 2010-07-01 22:22:00

dioltas
Member
Registered: 2009-06-03
Posts: 44

/var partition problem, now can't -Syu

Hi, would appreciate if anyone could give me some help with this.

Came home about a week ago and was having problems with my /var partition. Couldn't start x or anything.

I managed to get the partition mounting again like normal using fsck.

That got x and the other stuff working. Was still having a few problems, but have been too busy to sort them out.
During the week I did a

pacman -Scc

to try and fix something.

Now when I try to update my system I get lots of errors such as:

error: could not open file /var/lib/pacman/local/git-1.7.1-1/depends: No such file or directory

I think my var partition is ok now, but I may have lost some files during the recovery. It's reiserfs.

I'd really appreciate it if someone could point me in the right direction. Thanks.

Offline

#2 2010-07-01 22:48:52

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: /var partition problem, now can't -Syu

Do you have anything in /var/lib/pacman/local/ ?

Offline

#3 2010-07-01 23:41:17

dioltas
Member
Registered: 2009-06-03
Posts: 44

Re: /var partition problem, now can't -Syu

Thanks for the reply.

Yes, I have lots of folders, totaling 21MB.

du -ch | grep -E ^0
0    ./git-1.7.1-1
0    ./audex-0.72b1-1
0    ./handbrake-0.9.4-2

These folders are empty though, and I realise now that they are the ones causing the errors. There was so many errors that they filled the buffer in my terminal and I hadn't realised that it was just these packages.

I could try "touch depends" in each folder, but I'm not sure if that's the right way to fix this. I tried installing those packages and removing them, but couldn't do either because of missing files.

I just hope that the other packages are not missing files also.

I'm just going to bed, so I'll try and spend some time figuring it out tomorrow evening.

Thanks for the help.

Last edited by dioltas (2010-07-01 23:42:31)

Offline

#4 2010-07-02 10:26:01

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: /var partition problem, now can't -Syu

rm those 3 folders, and -Sf the packages they were for.

http://bugs.archlinux.org/task/11639  might be related.

Last edited by Mr.Elendig (2010-07-02 12:36:07)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB