Re: Totally screwed dpkg, I think ...
That was part of the answer, thanks. dpkg --update-avail did not work,
but I found an old copy
of /var/lib/dpkg/available, /var/lib/dpkg/available-old which I renamed
as "available" and then ran dselect update, and that's it.
On Sat, 2005-07-02 at 21:16 -0600, Bob Proulx wrote:
> Jean-Francois Gratton wrote:
> > Electric power went down while I was apt-getting dist-upgrade. Of course
> > *the* filesystem that got to be trashed was /var ...
> > Right now I got a parse error in /var/lib/dpkg/available..
> > Don't throw stones at me, I compounded the problem by deleting the file
> > (yeah I know.. not bright. I figured that I'd get recreated at the next
> > apt-get update)..
> > So now I'm stuck with a system that won't upgrade itself..
> > Any way to get out of this ? I'm running the unstable branch.
> dpkg --update-avail
> But not sure that will fix your problem.