LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-25-2006, 10:10 PM   #1
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89
Blog Entries: 2

Rep: Reputation: 15
Can't install new kernel


From the last week i can't install new kernel.
After making a apt-get upgrade i lost my previous kernel. And now trying to reinstall it. But getting error. Then i tried another one. Same result

Code:
This may be benign, (You may have versioned symbol names, for instance).  │
 │ Or this could be an error. depmod exited with return value  . , and got   │
 │ a signal 127 , and dumped core Since this image uses initrd, I am not     │
 │ deleting the file /lib/modules/2.6.15-1-686-smp/modules.dep. However,     │
 │ there is no guarantee that the file is valid. I would strongly advice     │
 │ you to either abort and fix the errors in depmod, or regenerate the       │
 │ initrd image with a known good modules.dep file. I repeat, an initrd      │
 │ kernel image with a bad modules.dep shall fail to boot.                   │
                                                                            
 │ Do you want to abort now?
And then if i am giving no (to continue) then:
Code:
Selecting previously deselected package linux-image-2.6.15-1-686-smp.
(Reading database ... 124918 files and directories currently installed.)
Unpacking linux-image-2.6.15-1-686-smp (from linux-image-2.6.15-1-686-smp_2.6.15-7bpo1_i386.deb) ...
Done.
Setting up linux-image-2.6.15-1-686-smp (2.6.15-7bpo1) ...
Running depmod.
Ok, continuing as directed
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: missing file requested for image: /sbin/insmod (/etc/yaird/Templates.cfg:214) (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.15-1-686-smp (--install):
 subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
 linux-image-2.6.15-1-686-smp
Please help me to install new kernel
 
Old 04-26-2006, 03:29 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,463

Rep: Reputation: 299Reputation: 299Reputation: 299
Quote:
After making a apt-get upgrade i lost my previous kernel
Are you sure?
Normally apt will never remove your old kernel and its entry in GRUB/LiLo (so is it really gone or just unbootable).

Last edited by jens; 04-26-2006 at 04:04 PM.
 
Old 04-27-2006, 07:32 AM   #3
lavluda
Member
 
Registered: Jan 2006
Location: Dhaka, Bangladesh
Distribution: Debian sid, Suse 9.3 pro, Mandrake 10.0, Redhat 7-9, FC-2,3, Gentoo 2006,2006.1
Posts: 89

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Quote:
Originally Posted by jens
Are you sure?
Normally apt will never remove your old kernel and its entry in GRUB/LiLo (so is it really gone or just unbootable).
Yea, it was available on the list. But never boot sucessfully. But now i can't telll you the error. as i puge that kernel. But now cann't install the kernel any more.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't run kernel config after APT kernel install rollo Debian 9 04-12-2006 05:06 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 11:19 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
How to install linux on a no-default-install-kernel-compatible controller ? DukeMC Linux - Hardware 2 11-20-2003 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration