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

Bug#327432: kernel-image-2.4.27-2-sparc32: upgrading from 2.2 kernel deadlocks with libc upgrade



Package: kernel-image-2.4.27-2-sparc32
Version: 2.4.27-9
Severity: important


I had an old sparc which was running a 2.2.20 kernel (yes, old) and
libc6 2.2.5-11.5.  I tried to upgrade it (apt-get install dist-upgrade)
and it choked.  In particular, the kernel depends on a newer version of libc:

locks-keyed-alike:~# apt-get install kernel-image-2.4-sparc32
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
Sorry, but the following packages have unmet dependencies:
  kernel-image-2.4-sparc32: Depends: kernel-image-2.4.27-2-sparc32 but it is not going to be installed
  libdb1-compat: Depends: libc6 (>= 2.2.5-13) but 2.2.5-11.5 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

And the libc won't install without a newer kernel version:

Do you want to upgrade glibc now? [Y/n] 

WARNING: You have a cpu which requires kernel 2.4.21
or greater in order to install this version of glibc.
Please upgrade the kernel before installing this package.

You should be able to install the latest version of the
sparc kernel-image in order to satisfy this need. You
can also download and compile the latest kernel source
yourself from a kernel mirror (see http://www.kernel.org/).
dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-22_sparc.deb (--unpack):
 subprocess pre-installation script returned error exit status 1

At this point, apt-get -f install fails as above, I can't install the new
libc without the new kernel, and I can't install the new kernel without
the new libc.

I eventually got myself out of this by replacing uname with a shell script
which claimed I was running 2.4.21, and then actually upgraded everything,
but this is a pretty absurd thing to have to do.

-- System Information:
Debian Release: 3.1
Architecture: sparc
Kernel: Linux 2.4.27-2-sparc32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-image-2.4.27-2-sparc32 depends on:
ii  initrd-tools                  0.1.81.1   tools to create initrd image for p
ii  modutils                      2.4.26-1.2 Linux module utilities

-- no debconf information



Reply to: