On Fri, Jan 15, 2010 at 01:06:20 +0100, Francesco Poli wrote: > > > > None the less, i would change apt-listbugs a bit: > > > > DPkg::Pre-Install-Pkgs {"if [ -x /usr/sbin/apt-listbugs ]; then > > /usr/sbin/apt-listbugs apt || exit 10; else exit 0; fi";}; > > > > As far as i know all other packages do it that way > > I respectfully disagree that this should be done for apt-listbugs: the > purpose of apt-listbugs is primarily to kick in when packages that are > going to be upgraded/installed are RC-buggy and let the user stop the > upgrade/installation, pin packages, and so forth. > > If anything goes wrong (e.g.: file /usr/sbin/apt-listbugs is moved or > discarded or just loses execution permissions) and the Pre-Install hook > begins to silently do nothing, the user might never notice that > apt-listbugs is no longer actually executed, and just think that > his/her upgrades or installations are safe! > If the apt-listbugs executable is not there, it means that apt-listbugs is not installed. If apt-listbugs is not installed, it means the admin uninstalled it. If the admin decided to uninstall apt-listbugs, apt-listbugs has no business breaking the package manager.
Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org