Re: Use /var/lib/dpkg/status directly
On Thu, Feb 26, 2004 at 02:36:30PM +0100, Markus Braun wrote:
> for a script I'm writing I need to get information for several packages.
> Because "dpkg -s ..." is slow I thought about using grep/awk on
> /var/lib/dpkg/status directly to get the information. I'm not sure if this
> is a valid possibility or if direct access to /var/lib/dpkg/status should be
> Can someone comment on this please?
Have you looked at grep-status (package grep-dctrl) ? Perhaps this
is what you want.
Frank Lichtenheld <email@example.com>