Upgrading ubuntu servers from 10.04 to 12.04

Upgrading ubuntu servers from 10.04 to 12.04

I've had to upgrade three servers from Ubuntu 10.04 to 12.04 in the last few days and normally this is a pain free process:
1) sudo apt-get update && sudo apt-get dist-upgrade
2) sudo do-release-upgrade -d
3) Fix a few config files
4) reboot

Not this time though.  Stuck in package dependency hell and the general refusal of the system to configure any packages.  Two commands that are useful:
* sudo apt-get -f dist-upgrade
* sudo dpkg --configure -a

Anyway, to avoid all this just delete the directory /var/lib/defoma/fontconfig.d before step 2 and everything works fine [He says as the final server fails to boot for a completely separate reason].

Comments

Popular posts from this blog

Nationwide statement to QIF Format

Search down those house prices