Results 1 to 6 of 6
This is what I get when from apt-get -f install
Code:
Setting up linux-image-2.6.18-2-k7 (2.6.18-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitramfs-kpkg to build the ramdisk.
Could not ...
- 11-22-2006 #1Linux Newbie
- Join Date
- Feb 2006
- Location
- Dover, DE
- Posts
- 112
linux-image-2.6.18-2-k7 wont install
This is what I get when from apt-get -f install
I am running 2.6.18-1-k7 now. What's wrong?Code:Setting up linux-image-2.6.18-2-k7 (2.6.18-5) ... Running depmod. Finding valid ramdisk creators. Using mkinitramfs-kpkg to build the ramdisk. Could not find postinst hook script [usr/sbin/update-grub]. Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin' dpkg: error processing linux-image-2.6.18-2-k7 (--configure): subprocess post-installation script returned error exit status 2
- 11-22-2006 #2Linux User
- Join Date
- Aug 2005
- Posts
- 408
This is just a guess from that error output, but it looks like it can't add the new kernel to grub's menu.lst. Do you have an "update-grub" script in any of the places listed:
'usr/sbin/update-grub', '/bin', '/sbin', '/usr/bin', '/usr/sbin'
- 11-22-2006 #3Linux Newbie
- Join Date
- Feb 2006
- Location
- Dover, DE
- Posts
- 112
I do have update-grub:
Code:jonandtice@socrates:~$ whereis update-grub update-grub: /sbin/update-grub /usr/sbin/update-grub /usr/share/man/man8/update-grub.8.gz
- 11-22-2006 #4
And where does /etc/kernel-img.conf point ? Which location is used by default for GRUB ?
"To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee
- 11-22-2006 #5Linux Newbie
- Join Date
- Feb 2006
- Location
- Dover, DE
- Posts
- 112
solved
problem solved.
I changed the last two lines of /etc/kernel-img.conf from
toCode:postinst_hook = usr/sbin/update-grub postrm_hook = usr/sbin/update-grub
Will this mess anything up in the future?Code:postinst_hook = /sbin/update-grub postrm_hook = /sbin/update-grub
- 11-22-2006 #6/sbin/update-grub is only a wrapper that will be removed once Etch gets stable,
Originally Posted by jonantice
Originally Posted by /usr/share/doc/grub/NEWS.Debian.gz "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."
-Bruce Lee


Reply With Quote
