[Debconf-devel] Bug#539140: debconf: Add explicit (Y/n) question to kernel remove safeguard
bubulle at debian.org
Wed Jul 29 15:50:56 BST 2009
reassign 539140 linux-2.6
Quoting Jari Aalto (jari.aalto at cante.net):
> Configuring linux-image-2.6.26-1-686
> You are running a kernel (version 2.6.26-1-686) and attempting to remove the same version.
> This can make the system unbootable as it will remove
> /boot/vmlinuz-2.6.26-1-686 and all modules under the directory
> /lib/modules/2.6.26-1-686. This can only be fixed with a copy of
> the kernel image and the corresponding modules.
> It is highly recommended to abort the kernel removal unless you
> are prepared to fix the system after removal.
> Abort kernel removal?
> Please spell out the last question explicitly:
> Abort kernel removal (Y/n)?
> Y = the default if return pressed.
> Accept all key caps for an answer: Y, y
That has nothing to do with debconf as debconf templates use to prompt
users are provided by the packages themselves.
I guess that reassigning to the kernel source package is the way to
Still, I very strongly advise *against* the suggested change.
Making reference to the user interface elements (such as a Y/N choice,
that can be translated....or presented in a different way, such as a
checkbox), is highly discouraged.
Maybe the question could still be worded in a different way: instead
of asking if one wants to abort the removal (which is kind of a double
negation), why not ask something like "Remove the currently running
kernel?" with of course "N" as the default.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
More information about the Debconf-devel