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

Re: Regenerating /var/lib/dpkg/status



On 06/16/11 at 02:13pm, Wayne Topa wrote:
> On 06/16/2011 12:59 PM, David Baron wrote:
> >This file is full of cruft, stuff left over years ago starting with knoppix-3.
> >Recent dpkg produce a lot of parse-errors from the file, though they do not
> >effect anything.
> >
> >Is it possible to regenerate this file without all the cruft?
> >
> 
> You might want to install the grep-status package.
> 
> To find packages installed and then removed but not purged:
> 
>   grep-status -F Status 'deinstall ok config-files' -ns Package

OT, but an easier way to do this is dpkg -l | grep ^rc

-- 
Liam

Attachment: signature.asc
Description: Digital signature


Reply to: