Re: I thought parsing dpkg's database directly was a no-no.
On Fri, 23 Oct 1998, Jason Gunthorpe wrote:
> On 23 Oct 1998, Rob Browning wrote:
>
> > I thought that Ian had said that no one was supposed to parse the dpkg
> > files directly, yet dpkg-awk does, and now other packages
> > (specifically netscape-base-4) are starting to depend on it. If this
> > is OK, then I'll shut up, but if not, I think we're be better off to
> > keep this from becoming common.
>
> Someone should make a specification for a command line package query
> mechanism, you might see it get implemented.
i thought that was the point of dpkg-awk and dpkg-perl - they are tools
which {pre,post}{rm,inst} scripts can use to query dpkg's info.
craig
--
craig sanders
Reply to: