Re: corrupt/lost dpkg files, dpkg broken, aptitude broken, help :(
On Fri 07 Jun 2013 at 16:30:34 -0500, Stan Hoeppner wrote:
[Snip]
> What's the best method for fixing this, getting dpkg running again, and
> removing lshw, given some of its file have been corrupted/lost? There
> wouldn't happen to be a single command to rebuild the dpkg subsystem
> would there?
A missing available file can be rebuilt with
apt-get/aptitude/dselect update
Doing
touch /var/lib/dpkg/available
beforehand might not come amiss.
There should also be a /var/lib/dpkg/available-old file which you could
consider copying.
Reply to: