LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   [SOLVED] Cannot continue a 'do-release-upgrade' because of dpkg error (https://www.linuxquestions.org/questions/ubuntu-63/%5Bsolved%5D-cannot-continue-a-%27do-release-upgrade%27-because-of-dpkg-error-787598/)

bluesword1969 02-07-2010 11:07 AM

[SOLVED] Cannot continue a 'do-release-upgrade' because of dpkg error
 
http://pastebin.com/m3cf18a1f

Trying to get my Ubuntu server to upgrade, but it keeps getting hung up on trying to make an initrd for a kernel that's no longer installed.

Any ideas how to make this stop?

ARGH!

EDIT: Solution below!

tommcd 02-08-2010 10:36 AM

Are you sure that kernel has been completely uninstalled? Run:
Code:

aptitude search linux-image
to find out. Their should not be any mention of the 2.6.28.10 kernel in the output. The current kernel in Ubuntu 9.10 is 2.6.31.19.32.
http://packages.ubuntu.com/search?ke...ic&section=all

bluesword1969 02-09-2010 03:16 PM

Quote:

Originally Posted by tommcd (Post 3856790)
Are you sure that kernel has been completely uninstalled? Run:
Code:

aptitude search linux-image
to find out. Their should not be any mention of the 2.6.28.10 kernel in the output. The current kernel in Ubuntu 9.10 is 2.6.31.19.32.
http://packages.ubuntu.com/search?ke...ic&section=all

The kernel was a custom kernel I built myself.

SOLVED: I rebuilt the kernel, re-installed it, let the new initramfs package build a new initrd based on it, the *uninstalled* the custom kernel, and voila - everything works as it should!

Phew...


All times are GMT -5. The time now is 05:57 AM.