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

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



David Baron <d_baron@012.net.il> writes:

>On Sunday 18 Tishrey 5772 19:32:50 debian-user-digest-request@lists.debian.org 
>wrote:
>> What is the output of the command
>> 
>>   grep  'Status:' /var/lib/dpkg/status | grep -v installed
>> 
>A bunch of lines:
>Status: deinstall ok config-files

If you just need to purge all packages that just have their config installed,
the easiest way I know of is to use the aptitude.

# aptitude purge ~c

This will purge all packages that have been removed but have left config
files around.

If you want to see what those packages are, run
# aptitude search ~c




Reply to: