You are not logged in.

#1 2006-09-11 18:15:54

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

pacman issue - error: <..>: No such file or directory.

It seems I have my first issue, and it's with Pacman. I get this error everytime I sync the database or install a package, even though everything seems to go fine.

error: /var/lib/pacman/extra/flite-1.3-2/desc: No such file or directory

I don't know what flite is but it won't install it as it doesn't exist even though there is a directory called "flite-1.3-2" and it's empty. I've tried removing the directory but synching the database doesn't put it back. Also I've used 'pacman -Scc' to clear cache but still no joy.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#2 2006-09-11 19:52:25

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: pacman issue - error: <..>: No such file or directory.

update: When I remove the flite-1.3-2 directory the error dissappears and it doesn't try to sync it with the database.

So I guess my question is, how do I get it back? Pacman -Sy doesn't recover it.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#3 2006-09-11 20:05:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman issue - error: <..>: No such file or directory.

pacman -Sf flite

if you're sure you had it installed.

That error comes up every so often when pacman was killed at an inopportune time. I'd say remove the dir then -Sf the install again to force it to copy over existing files that pacman has forgotten about because the DB for that package is gone.

Offline

#4 2006-09-11 20:23:29

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: pacman issue - error: <..>: No such file or directory.

archuser wrote:

It seems I have my first issue, and it's with Pacman. I get this error everytime I sync the database or install a package, even though everything seems to go fine.

error: /var/lib/pacman/extra/flite-1.3-2/desc: No such file or directory

I don't know what flite is but it won't install it as it doesn't exist even though there is a directory called "flite-1.3-2" and it's empty. I've tried removing the directory but synching the database doesn't put it back. Also I've used 'pacman -Scc' to clear cache but still no joy.

delete the directory /var/lib/pacman/extra and run pacman -Sy to restore. I believe if you delete just the flite directory it won't restore with Sy.

Offline

#5 2006-09-11 20:38:09

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman issue - error: <..>: No such file or directory.

Oh it was in extra/ - I assumed it was in local/

Offline

#6 2006-09-12 00:50:01

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: pacman issue - error: <..>: No such file or directory.

... and since you're new (btw, hi!):
Never ever delete stuff in /var/lib/pacman/local, that's the only directory there you can't recreate as easy as the repository ones.


1000

Offline

#7 2006-09-12 00:57:20

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: pacman issue - error: <..>: No such file or directory.

byte wrote:

... and since you're new (btw, hi!):
Never ever delete stuff in /var/lib/pacman/local, that's the only directory there you can't recreate as easy as the repository ones.

Not necessarily true. You should never delete local/ directory as a whole.
As what phrakture was alluding to earlier is that in some cases a certain db file in local/ can be corrupt in which case the only course for recovery is to delete the offending package directory and reinstall it using -f switch to bypass the 'file exists in filesystem' errors and restore that db entry.

Offline

#8 2006-09-12 00:58:46

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: pacman issue - error: <..>: No such file or directory.

Ah, sure... been too quick I guess.


1000

Offline

#9 2006-09-12 18:14:03

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: pacman issue - error: <..>: No such file or directory.

It's back now. Yesterday it was saying that  extra was up to date. Today when I installed a package with the -Sy switch again it updated the extra repo and it's back.

Cheers for your advice. smile


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#10 2006-09-12 18:48:55

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: pacman issue - error: <..>: No such file or directory.

This is beginning to sound like it's not a pacman problem.

What filesystem are you using for /var and how reliable is the drive you installed arch on ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2006-09-12 20:29:36

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: pacman issue - error: <..>: No such file or directory.

I'm using whatever system the installer chose as I chose the automatic partition. cfdisk shows hdb1 as a boot partition of 41MB using ext2, hdb2 the swap partition and hdb3 as ext3.

I've had the disk for about 3 years. All disk checks (however thorough, or not) have found no problems.


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

Board footer

Powered by FluxBB