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

Re: "dpkg --status" not sufficient.



On Fri, Jul 17, 1998 at 05:04:12PM -0500, Rob Browning wrote:
> Joey Hess <joey@kitenet.net> writes:
> 
> > Use somthing like dpkg-perl.
> 
> Will dpkg-perl allow me to query the status of the *current* system?
> It seems to always want a "packages" file, but I must admit, given
> *no* documentation, I haven't figured it all out yet.
> 
> Also, even if I can just hand it the "status" file, isn't that just as
> "bad" as parsing the file by hand (which Ian keeps telling us not to
> do), or does dpkg-perl know how to safely synchronize with dpkg?

AFAIK, dpkg-perl does the Right Thing, that is, using libdpkg to parse
dpkg databases.

	Thanks,
-- 
Enrique Zanardi						ezanardi@ull.es


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: