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

Re: way to get selections _not_ in /var/lib/dpkg/*?



On Wed, Dec 06, 2000 at 07:02:34PM +0000, David Wright wrote:

> Work? It takes two minutes to come up with
> grep -B 1 "Status: install ok installed" /var/lib/dpkg/status |
>  grep Package | cut -d \   -f 2
> 
> Is that the sort of thing you want?

Well, not as easy as that, but that's also what I came up with. 
It's not suitable for --set-selections, but it'll do.  Thanks.

A

-- 
Andrew Sullivan                                      Computer Services
<sullivana@bpl.on.ca>                        Burlington Public Library
+1 905 639 3611 x158                                   2331 New Street
                                   Burlington, Ontario, Canada L7R 1J4



Reply to: