On Tue, Mar 27, 2001 at 10:51:51AM +0100, Julian Gilbey wrote: > 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? Nope. Dpkg is much less happy when that happens. And anyway: [sam@samth sam]$ ls /var/lib/dpkg/ total 13266 [...] -rw-r--r-- 1 root root 5376288 Mar 15 08:24 available -rw-r--r-- 1 root root 5376288 Mar 27 10:53 available-new [...] -rw-r--r-- 1 root root 1322856 Mar 15 08:24 status -rw-r--r-- 1 root root 1322893 Mar 27 10:53 status-new -rw-r--r-- 1 root root 127 Jan 21 09:43 talk drwxr-xr-x 2 root root 35 Mar 27 10:53 updates Thanks anyway sam th --- sam@uchicago.edu --- http://www.abisource.com/~sam/ OpenPGP Key: CABD33FC --- http://samth.dyndns.org/key DeCSS: http://samth.dynds.org/decss
Attachment:
pgpo3PNZlpgwy.pgp
Description: PGP signature