Last Updated:

How to upgrade an Ubuntu release -including your third party repos

operationroot Ubuntu

You know, when you upgrade an Ubuntu release and it "helpfully" disables all your third party repos and then you have to go in after the upgrade and fix it, manually add third party repos and PPAs, possibly reinstall or dist-upgrade all those third party packages?

Assuming your third party developer has set up their repos or launchpad PPA correctly, you can tell Ubuntu to do its release upgrade and automatically also upgrade all the third party repos along the way. While this may not always workout, it can be a major time saver. Here's how to do it:

sudo vi /etc/update-manager/release-upgrades.d/allow-thirdparty.cfg[Sources]AllowThirdParty=yes

sudo apt-get updatesudo do-release-upgrade

That's it!

Good luck, obviously use at your own risk. Usual disclaimer applies.