recovery from "rm -rf /var/lib/dpkg/info" ?

Dan Ritter dsr-mzpnVDyJpH4k7aNtvndDlA at public.gmane.org
Wed Aug 22 13:48:55 EDT 2007


On Wed, Aug 22, 2007 at 01:37:33PM -0400, Kristian Erik Hermansen wrote:
> Hey guys,
> 
> I did something dumb.  I was playing around with some debs and hacking
> some control files, when I accidentally removed /var/lib/dpkg/info !!!
>  Now, if I even try to do 'aptitude reinstall ~i', I am greeted with
> "Writing extended state information... Error!".  dpkg --list still
> shows all the currently installed packages, but I am unable to
> reinstall.  Does anyone have a good idea on how to recover from
> this???  Ideally, I think it would be easiest to reinstall all the
> packages, since they are all from the repositories and none are
> non-standard.

Does this help?
http://mm.bbspals.org/linux/lost-var-lib-dpkg-on-debian/

-dsr-

-- 
Every time you give up a right, the terrorists win.

http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list