[Debconf-devel] Bug#539140: debconf: Add explicit (Y/n) question to kernel remove safeguard

Jari Aalto jari.aalto at cante.net
Wed Jul 29 12:07:22 BST 2009

Package: debconf
Version: 1.5.27
Severity: normal

Attempting a kernel remove:

    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

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.27     full internationalization support 
ii  perl-base                     5.10.0-24  minimal Perl system

Versions of packages debconf recommends:
ii  apt-utils                     0.7.21     APT utility programs

Versions of packages debconf suggests:
ii  debconf-doc               1.5.27         debconf documentation
ii  debconf-utils             1.5.27         debconf utilities
ii  dialog                    1.1-20080819-1 Displays user-friendly dialog boxe
ii  gnome-utils               2.26.0-1       GNOME desktop utilities
ii  libgnome2-perl            1.042-2        Perl interface to the GNOME librar
pn  libnet-ldap-perl          <none>         (no description available)
pn  libqt-perl                <none>         (no description available)
ii  libterm-readline-gnu-perl 1.19-1         Perl extension for the GNU Readlin
ii  perl                      5.10.0-24      Larry Wall's Practical Extraction 
ii  whiptail                  0.52.10-4      Displays user-friendly dialog boxe

-- debconf information excluded

More information about the Debconf-devel mailing list