Re: upgrading libc6 from 2.2.5-14.3 to 2.3.1-5 fails on 712
On Tue, 26 Nov 2002, Ralf Hildebrandt wrote:
> * Martin-?ric Racine <firstname.lastname@example.org>:
> > Then why doesn't the package itself depend on that kernel? If it did, apt
> > would have prevented the upgrade from ever being attempted at all...
> Inteesting question. One could install a kernel by hand (not as a
> package). Thus a runtime test would probably be more suited.
The problem with a runtime test i.e. in the package's pre-install script, is by
the time you try it, the libc binaries have already been unpacked and have
probably overwritten the older ones.
Anyhow, two comments on the situation:
1) making this new lib dependent upon a specific kernel "is a bad thing" (tm).
2) if there really is no other way e.g. because recent bug fixes in the pa-risc
kernel branch were performed, then the libc6 package should at least depend on
some specific kernel-image version (or newer), to prevent disasters.
Besides, this is Debian; we have the kernel-package and people should use it.
Therefore, if this new libc6 depends upon specific kernels, it should not be a
problem to have the package actually mandate that, by having kernel-image-2.4.19
or newer as a dependency.
"Kas sa tahad mind? - Nej!!! Är du en idiot?!!"