[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: severely broken dpkg (among other things)

On Tue, Mar 27, 2001 at 12:50:51AM -0600, Sam TH wrote:
> > $ sudo strace dpkg -i <package>
> > 
> This produced lots of interesting results.  The relevant ENOENTS are 
> [...]
> link("/var/lib/dpkg/status", "/var/lib/dpkg/status-old") = -1 ENOENT
> (No such file or directory)
> link("/var/lib/dpkg/available", "/var/lib/dpkg/available-old") = -1
> ENOENT (No such file or directory)

So you've lost both /var/lib/dpkg/status and /var/lib/dpkg/available,
by the looks of things.  The available file can easily be recreated by
apt or dselect or similar, but losing your status file is pretty bad
news.  Do you have a backup of it?



         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

Reply to: