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

Re: "super" pkgs (was Re: Back to RedHat)

James Troup <james@nocrew.org> writes:

> Eh? It's very possible as long as you don't try to do silly stuff
> which will try to write to the database (and, naturally, dpkg won't
> let you do that).  On the other hand, calling dpkg within a maintainer
> script to, e.g. check the installed-ness of some package or other is
> not only possible, it's also perfectly okay afaics (the tetex packages
> use to do that, before it got dpkg-perl-ised).

And so does emacsen-common.  It calls dpkg recursively to determine
the dependencies all of the (to-be) installed emacs add-on packages.
This list is topologically sorted and used to schedule the
install/remove scripts as appropriate.

Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930

Reply to: