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
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.
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.
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:
to which I went ahead and started by removing the kdevelop package using synaptic package manager.
Hope this helps
I clicked on the Ubuntu Software Center and it automatically repaired about four files then try to upgrade it again and it worked.
Your best option is to do a clean reinstall.