Re: way to get selections _not_ in /var/lib/dpkg/*?
On 06-Dec-2000 Andrew Sullivan wrote:
> 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).
>
nope, you get to do some manual work.
Reply to: