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

Re: dpkg -l format



On Tue, Oct 05, 1999 at 12:44:10AM -0400, Colin Walters wrote:
> I'm not sure if this has been discussed extensively before on
> debian-devel, but a quick search of the mailing list archives didn't
> turn up anything, so here goes:

There are open bugs against dpkg on this, IIRC.

> I have
> to grep /var/lib/dpkg/status, and remove things by hand, when
> what I really want to do is dpkg -l '*netscape*' | xargs dpkg --purge.

Simple:

grep-status -Pe '.*netscape.*' | grep-dctrl -FStatus -sPackage -n \
 'install ok installed' | xargs dpkg --purge

grep-status and grep-dctrl are in package grep-dctrl.

-- 
%%% Antti-Juhani Kaijanaho % gaia@iki.fi % http://www.iki.fi/gaia/ %%%

                                  ""
                             (John Cage)


Reply to: