initramfs pointing to wrong kernel version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
I just did a clean install of Karmic onto a system with partitions for Intrepid and Jaunty on it. The install was amazingly smooth (good work guys), including my manual disk reformatting and such, until the very end when it hiccupped about initramfs. I went ahead and rebooted, and it booted up fine, but hung during the install of updated packages. Rebooted again, looks fine, but now I cannot get apt-get to work.
$ sudo dpkg --configure -a
Setting up initramrs-tools (0.92bubuntu53) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: generating /boot/initrd.
Cannot find /lib/modules/
update-initramfs: failed for /boot/initrd.
dpkg: subprocess installed post-installation script returned error exit status 1
Now of course it can't find that.
$ ls /lib/modules
2.6.31-14-generic
This is a real bummer since apt-get is broken...
Okay, I went back and did a new install, and have the same problems. At the end of the install process, an error pops up :
An error occurred while removing packages:
E: Sub-process /usr/bin/dpkg returned an error code (2)
The following packages are in a broken state:
This may be due to .... etc etc etc
So it says packages are broken, but doesn't say which ones. /var/log/syslog looked fine, of course that was after reboot. apt-get is still broken, so I have a near useless install...