Control: tag -1 + confirmed help
* Andreas Beckmann <a...@debian.org>, 2013-03-12, 20:25:
Do you install some apt hook conffile that does in-adequately check
whether adequate is actually installed?
In fact it does no checking at all:
DPkg::Pre-Install-Pkgs {"adequate --user nobody --apt-preinst";};
DPkg::Post-Invoke {"adequate --debconf --user nobody --pending";};
DPkg::Tools::Options::adequate::Version "2";
I took a look how other packages deal with removed-but-not-purged apt
hooks:
1) apt-transport-spacewalk breaks when removed but not purged. (Though
in a way that is unlikely to be caught by piuparts. I'll file an RC bug
later, unless somebody beats me to it.)
2) apt-listbugs and apt-listchanges rename the conffile in "postrm
remove" and then rename it back in preinst and "postrm abort-install".
This sounds wrong to me.
3) aptdeamon, debconf, dpsyco-base: these ignore errors from commands
they run. I could use that method, but there's a rink it'll hide genuine
bugs from users.
4) The remaining packages use "test -x ... && ..." or similar. But as I
understand it, with this method I couldn't set DPkg::Tools::Options
anymore.
So... all the above methods suck.
Any ideas how do to it right?
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org