[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 10:32:02AM -0800, Sean 'Shaleh' Perry wrote:
> let's see .....
> 
> /var/lib/dpkg/status.  Every package marked 'Status: install ok installed' is
> installed.

Yes, but it's in a big file with a lot of extra data (whereas the
output from --get-selections is just lines indicating package and
state).  I know that I can just pull the relevant bits with some
regex work, but I wondered if there was a way to make dpkg read its
data from some file other than the system's /var/lib/dpkg/status
(assuming that's the file dpkg is using to get its data; I always
assumed so).

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: