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

Re: Cruft in /var/lib/dpkg/status



On 2011-10-16 13:50 +0200, Brian wrote:

> On Sun 16 Oct 2011 at 11:50:44 +0200, David Baron wrote:
>
>> This is a repeat posting.
>
> This is probably a repeat response. :)
>
> [Snip complaints from dpkg]
>
>> How can I get rid of these entries (without attempting to hand-edit 100,000 
>> lines of text!)?
>
> 'dpkg --clear-avail' followed by 'apt-get update'.

This will not help since the problem is in the status file, not in the
available file.  It is necessary to purge or reinstall the packages.  If
the former is not desired and the latter is not possible because they
are no longer available, dpkg-repack could help.

Sven


Reply to: