[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#267466: kernel-image-2.6.7-1-k7: Hairy upgrade



Package: kernel-image-2.6.7-1-k7
Version: 2.6.7-2
Severity: wishlist


Why do I get this prompt? Why is it trying to remove a running kernel?

Why the hell would someone want to?


Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 56194 files and directories currently installed.)
Removing flyspray ...
(Reading database ... 56028 files and directories currently installed.)
Preparing to replace module-init-tools 3.1-pre5-3 (using .../module-init-tools_3.1-pre5-6_i386.deb) ...
Unpacking replacement module-init-tools ...
Selecting previously deselected package kernel-image-2.6.8-1-k7.
Unpacking kernel-image-2.6.8-1-k7 (from .../kernel-image-2.6.8-1-k7_2.6.8-1_i386.deb) ...
Preparing to replace kernel-image-2.6-k7 2.6.7-2 (using .../kernel-image-2.6-k7_2.6.8-1_i386.deb) ...
Unpacking replacement kernel-image-2.6-k7 ...
(Reading database ... 57740 files and directories currently installed.)
Removing kernel-image-2.6.7-1-k7 ...

  You are running a kernel (version 2.6.7-1-k7) and attempting to remove
  the same version. This is a potentially disastrous action. Not only
  will /boot/vmlinuz-2.6.7-1-k7 be removed, making it impossible to boot
  it, (you will have to take action to change your boot loader to boot
  a new kernel), it will also remove all modules under the directory
  /lib/modules/2.6.7-1-k7. Just having a copy of the kernel image is not
  enough, you will have to replace the modules too.

    I repeat, this is very dangerous. If at all in doubt, answer
    no. If you know exactly what you are doing, and are prepared to
    hose your system, then answer Yes.
Remove the running kernel image (not recommended) [No]?
dpkg: error processing kernel-image-2.6.7-1-k7 (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 kernel-image-2.6.7-1-k7
E: Sub-process /usr/bin/dpkg returned an error code (1)
Ack!  Something bad happened while installing packages.  Trying to recover:
Setting up module-init-tools (3.1-pre5-6) ...
Installing new version of config file /etc/modprobe.d/aliases ...

Setting up kernel-image-2.6.8-1-k7 (2.6.8-1) ...

Setting up kernel-image-2.6-k7 (2.6.8-1) ...
Press return to continue.



-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15

Versions of packages kernel-image-2.6.7-1-k7 depends on:
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities 
ii  initrd-tools                  0.1.73     tools to create initrd image for p
ii  module-init-tools             3.1-pre5-6 tools for managing Linux kernel mo

-- no debconf information



Reply to: