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

A census of amplified and overexpressed human cancer genes : Nature Reviews Cancer

Universal Scrobbler

RT @CancerInNorwich: 📢 Join us on Monday at 1pm for the next talk in our virtual seminar series. We will be hearing from Dr Wafa Al-Jamal from @QUBelfast, who will be talking about "Smart Nanomedicimes for Pancreatic Cancer". All are welcome to join via the MS Teams link: https://t.co/4xCYpjGuBZ https://t.co/EGyD4NAgeP