Debian Developers - Strange behaviour at kernel upgrade

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > October 2004 > Strange behaviour at kernel upgrade





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Strange behaviour at kernel upgrade
Jérôme Warnier

2004-10-10, 5:54 pm

I got this strange behaviour on Sid today while upgrading
kernel-image-2.6.8-1-686. Notice on the log that I answered "n" to "Do
you want to stop now? [Y/n]", and it aborted just like if I answered
"y".

The only thing noticeable is that I took a long time (a few minutes) to
answer. I suspect there should be no timeout in this case.

I just wanted to let you know, just in case.



Preparing to replace kernel-headers-2.6.8-1 2.6.8-3 (using
..../kernel-headers-2.6.8-1_2.6.8-4_i386.deb) ...
Unpacking replacement kernel-headers-2.6.8-1 ...
Preparing to replace kernel-headers-2.6.8-1-686 2.6.8-3 (using
..../kernel-headers-2.6.8-1-686_2.6.8-4_i386.deb) ...
Unpacking replacement kernel-headers-2.6.8-1-686 ...
Preparing to replace kernel-image-2.6.8-1-686 2.6.8-3 (using
..../kernel-image-2.6.8-1-686_2.6.8-4_i386.deb) ...

You are attempting to install an initrd kernel image (version
2.6.8-1-686)
This will not work unless you have configured your boot loader to use
initrd. (An initrd image is a kernel image that expects to use an
INITial
Ram Disk to mount a minimal root file system into RAM and use that for
booting).

As a reminder, in order to configure LILO, you need
to add an 'initrd=3D/initrd.img' to the image=3D/vmlinuz
stanza of your /etc/lilo.conf

I repeat, You need to configure your boot loader -- please read your
bootloader documentation for details on how to add initrd images.

If you have already done so, and you wish to get rid of this message,
please put
"do_initrd =3D Yes"
in /etc/kernel-img.conf. Note that this is optional, but if you do not,
you will continue to see this message whenever you install a kernel
image using initrd.
Do you want to stop now? [Y/n]n
Ok, Aborting
dpkg: error processing
/var/cache/apt/archives/kernel-image-2.6.8-1-686_2.6.8-4_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1


Regards
--=20
J=E9r=F4me Warnier
Consultant
BeezNest
http://beeznest.net
Wouter Verhelst

2004-10-10, 5:54 pm

On Sat, Oct 09, 2004 at 12:48:23PM +0200, Jérôme Warnier wrote:
> I got this strange behaviour on Sid today while upgrading
> kernel-image-2.6.8-1-686. Notice on the log that I answered "n" to "Do
> you want to stop now? [Y/n]", and it aborted just like if I answered
> "y".
>
> The only thing noticeable is that I took a long time (a few minutes) to
> answer. I suspect there should be no timeout in this case.
>
> I just wanted to let you know, just in case.
>
>
>
> Preparing to replace kernel-headers-2.6.8-1 2.6.8-3 (using
> .../kernel-headers-2.6.8-1_2.6.8-4_i386.deb) ...
> Unpacking replacement kernel-headers-2.6.8-1 ...
> Preparing to replace kernel-headers-2.6.8-1-686 2.6.8-3 (using

^
Notice the extra space here. It appears you inadvertently hit the space
bar while you were doing something else. As a result, you had that space
in your input buffer, so when you hit enter, it was the space, rather
than the 'n', which was processed. As this script interprets everything
which is not 'n' as the default value, it bailed out.

--
EARTH
smog | bricks
AIR -- mud -- FIRE
soda water | tequila
WATER
-- with thanks to fortune

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com