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

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

Gergely Madarasz <gorgo@caesar.elte.hu> writes:

> > > Is there any reason why you can't put a call to dpkg in the postrm?
> > 
> > Recursive invocation of dpkg is VERY bad.
> I'd rather say it is impossible.

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).


Reply to: