On Sun, Nov 28, 2010 at 09:48:30AM -0700, LaMont Jones wrote: > On Sun, Nov 28, 2010 at 03:41:37PM +0100, Serafeim Zanikolas wrote: > > Please consider the attached patch that displays a warning using debconf. > > Note > > that I've added the warning in the postinst script (as opposed to preinst, > > as > > suggested in msg #54 of this bug report) so that it suffices to Depend on > > debconf (as opposed to pre-depend). > > I've been trying to avoid _ANY_ debconf dependency in util-linux. I'll ponder > this an get back with you on Monday (US time).
I sympathise with that goal. How about dropping the dependency all together (or using recommends or even suggests instead), and invoking debconf only when it happens to be installed already (ie. by checking the existence of /usr/share/debconf/confmodule)? For the most part, the warning is relevant to desktop upgrades, in which case debconf is almost certain to be already installed. Also, an addition to the release notes might be useful. -S -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org