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

Upgrade to MySQL tries to remove kernel

We're having a slight issue with one of our Debian servers.  It has been running for about 6 months now, using only standard stable packages.  To support a specific web application, I need to upgrade the version of MySQL we have installed.  To achieve this I set up apt-pinning to Testing, and tried upgrading to the Testing version of MySQL.

As shown in the output below, it is happy to upgrade to the new version, installing all the appropriate dependencies.  However, it shows it will remove initrd-tools, kernel-image-2.4.27-2-386 and kernel-2.4.27-3-386 .  I would guess this is a Bad Thing(tm), especially considering 2.4.27-3-386 is the kernel I am currently running.  Any idea why it might be trying to do this and how I can get around it?


ropetin@server:~$ sudo apt-get -t testing install mysql-server-4.1
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  gcc-4.1-base libc6 libc6-dev libgcc1 libmysqlclient15off libncurses5 libncurses5-dev libreadline5
  libstdc++6 locales lsb-base mysql-client-5.0 mysql-common mysql-server-5.0 readline-common tzdata
Suggested packages:
  glibc-doc tinyca
The following packages will be REMOVED:
  initrd-tools kernel-image-2.4.27-2-386 kernel-image-2.4.27-3-386 mysql-client-4.1 mysql-common-4.1
The following NEW packages will be installed:
  gcc-4.1-base libmysqlclient15off libstdc++6 lsb-base mysql-client-5.0 mysql-common mysql-server-5.0
  readline-common tzdata
The following packages will be upgraded:
  libc6 libc6-dev libgcc1 libncurses5 libncurses5-dev libreadline5 locales mysql-server-4.1
8 upgraded, 9 newly installed, 5 to remove and 265 not upgraded.
Need to get 34.7MB/48.5MB of archives.
After unpacking 1774kB of additional disk space will be used.
Do you want to continue? [Y/n]
Reply to: