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

2005-09-09 Thread Marc Horowitz
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-09-09 Thread Jurij Smakov

On Fri, 9 Sep 2005, Marc Horowitz wrote:


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:


This is a known issue, arising when attempting woody->sarge upgrade on 
sparc. Proper procedure for upgrading the kernel is documented in Sarge 
release notes (paragraph 4.3 and appendix A):


http://www.debian.org/releases/stable/sparc/release-notes/ap-kernel-upgrade-howto.en.html

Best regards,

Jurij Smakov[EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/   KeyID: C99E03CC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-09-09 Thread Marc Horowitz
Jurij Smakov <[EMAIL PROTECTED]> writes:

>> On Fri, 9 Sep 2005, Marc Horowitz wrote:
>> 
>> > 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:
>> 
>> This is a known issue, arising when attempting woody->sarge upgrade on 
>> sparc. Proper procedure for upgrading the kernel is documented in Sarge 
>> release notes (paragraph 4.3 and appendix A):
>> 
>> http://www.debian.org/releases/stable/sparc/release-notes/ap-kernel-upgrade-howto.en.html

Shouldn't the system somehow warn me I have a gun aimed at my foot
*before* I pull the trigger?

Marc


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



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

2005-09-09 Thread Jurij Smakov

On Fri, 9 Sep 2005, Marc Horowitz wrote:


Shouldn't the system somehow warn me I have a gun aimed at my foot
*before* I pull the trigger?

   Marc


Well, it did prevent you from installing a broken combination of things. 
And there is a documented workaround. Anyway, nothing can be done to 
improve the situation now, as we can't really change Sarge kernels anymore 
(apart from security fixes).


Best regards,

Jurij Smakov[EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/   KeyID: C99E03CC


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]