I upgraded an existing 8.10 Ubuntu installation to 9.04 last week, and everything appeared to run fine initially. However now on boot I get a dialog box which says 'Not all updates can be installed'. Hitting the 'Partial Upgrade' button the list includes
Install libd4.6-java
Install libd4.6-java-gcj
Install liblrdf0
Upgrade acpid
Upgrade libfreetype6
Upgrade liblucene2-java
Upgrade update-manager
Upgrade update-manager-core
If I then go with install the upgrade the dialog box disappears (after the permission to proceed password prompt) and nothing further happens until the next reboot, when I'm back to the partial upgrade prompt again.
Where should I look to find out what's going wrong and fix this?
Try dropping to a console and doing a
dpkg --configure -a
which will reconfigure all packages that are awaiting (or previously failed) configuration.Occassionally you might need to run
dpkg
multiple times before you get complete success, at which point you can then call anapt-get dist-upgrade
to try an install those that didn't previously install.Basically just repeat those two steps, paying attention to any error messages that might arise, and you'll eventually get a fully updated system. If things really seem to be going wrong you can try
apt-get upgrade
instead ofapt-get dist-upgrade
which just tries to upgrade the "current" packages rather than trying to upgrade to the latest Ubuntu release.The "partial upgrade" button corresponds to
apt-get upgrade
, while the "upgrade" button corresponds to a "full upgrade". The step that isn't handled by the GUI isdpkg --configure -a
and is the most common problem when trying to upgrade and particular packages have jumped a few versions rather than just one.You're likely to find some 'real time' help from the Ubuntu IRC channels. There are lots of friendly helpful people who will go out of their way to assist you. It may be easier than waiting for responses here at SF.
Ubuntu IRC:https://help.ubuntu.com/community/InternetRelayChat
Ubuntu Forums: http://ubuntuforums.org/
Drop to a console and run "
aptitude dist-upgrade
" as root and see what it has to say for itself. That should give you a better idea of what's going wrong, or at the very least provide some more diagnostic info for your question.