"The upgrade has aborted" error, how to proceed?

I decided to update to Oneiric using the update manager. At some point, I got this message:

The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).

Then, later on:

The upgrade has completed but there were errors during the upgrade process.

What can I do?

EDIT: Update manager offers to perform a 'Partial Upgrade'. "865 updates have been selected. The updates have already been downloaded, but not installed". It still gives the option to upgrade to 11.10


Solution 1:

Ok, this is how I solved the problem eventually: burn a live cd/USB, boot from it, go to 'install', and choose the Upgrade option.

Solution 2:

I had the same thing happen to me, after it had had problems with updating the samba package. Never fear, it has updated to 11.10. Restart and all should be well. I then found that the Update Manager which listed samba in the "distribution updates" section wouldn't update it, but I then tried it in Synaptic (which you will have installed because you're upgrading—Synaptic doesn't come installed on fresh installations of 11.10) and it upgraded fine.

So, don't worry. The error message is merely poorly done, I think.

Solution 3:

I had the same issue on my computer. To fix this I went to /var/log/dist-upgrade/20111015-2104 where the 20111015-2104 will be the date + "-" + time that you tried to do the update, then look in the apt.log and see which package is failing.

In the log I had a bunch of errors such as:

Broken kdelibs5-plugins:i386 Breaks on kdevelop [ i386 ] < 4:4.0.2-0ubuntu2 -> 4:4.2.3-0ubuntu1 > ( devel ) (< 4:4.2) Considering kdevelop:i386 0 as a solution to kdelibs5-plugins:i386 193 Upgrading kdevelop:i386 due to Breaks field in kdelibs5-plugins:i386

to which I went ahead and started by removing the kdevelop package using synaptic package manager.

Hope this helps