LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   debian modules list after new kernel install (http://www.linuxquestions.org/questions/linux-newbie-8/debian-modules-list-after-new-kernel-install-115011/)

xsmarty 11-11-2003 07:48 PM

debian modules list after new kernel install
 
well a screen might be more accurate than a long description so here it comes :
***************************************
Debian:/home/xsmarty# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
Setting up kernel-image-2.4.18 (hostname.1.0) ...

You are attempting to install a kernel version that is the same as
the version you are currently running (version 2.4.18). The modules
list is quite likely to have been changed, and the modules dependency
file /lib/modules/2.4.18/modules.dep needs to be re-built. It can
not be built correctly right now, since the module list for the
running kernel are likely to be different from the kernel installed.
I am creating a new modules.dep file, but that may not be
correct. It shall be regenerated correctly at next reboot.

I repeat: you have to reboot in order for the modules file to be
created correctly. Until you reboot, it may be impossible to load
some modules. Reboot as soon as this install is finished (Do not
reboot right now, since you may not be able to boot back up until
installation is over, but boot immediately after). I can not stress
that too much. You need to reboot soon.

Please Hit return to continue.
dpkg: error processing kernel-image-2.4.18 (--configure):
subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
kernel-image-2.4.18
E: Sub-process /usr/bin/dpkg returned an error code (1)
Debian:/home/xsmarty#
***********************************************
here is my prob, after compiling and i think succesfully loading my new kernel (2.2.20 (oldie ) -> 2.4.18) il tried to install apache, but since my list was old i did a apt-get update .. upgrade and it always show me this and fails to install packages .. so a bit of help might be helpfull :)

here and also :
**********************************
Debian:/home/xsmarty# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, apache is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up kernel-image-2.4.18 (hostname.1.0) ...

You are attempting to install a .... (same bla bla) reboot soon.

Please Hit return to continue.
Failed to create initrd image.
dpkg: error processing kernel-image-2.4.18 (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
kernel-image-2.4.18
E: Sub-process /usr/bin/dpkg returned an error code (1)
Debian:/home/xsmarty#
*****************************

here is seems it can't load some driver into the meme but i don't know what it could be and im a bit confused whit the role been played by initrd in this install ..
anyways.. thx for the patience of reading all this :)
hope i get an answer :)

xavier

xsmarty 11-12-2003 10:08 AM

still not working ..

TigerOC 11-12-2003 02:38 PM

Perhaps some logic may help you. I assume that you went through the new configure process? The Debian method of creating a new kernel involves firstly the compile which creates the stuff you selected and then the modules. The next stage is create the initrd and the final stage is to create the new modules in /lib/modules. From what you say it sounds like the process is stuck at the initrd stage and won't do anything until the upgrade is complete. I think the instruction is apt-get -f upgrade

xsmarty 11-14-2003 03:06 AM

did so but nothing as changed .. perhaps a windows reflex might save me :(reinstall it :) )


All times are GMT -5. The time now is 07:58 AM.