Normally, all Person Package Archives (PPAs) and third-party repositories are disabled when updating to a new release of Ubuntu. This helps keep upgrades simpler and prevents PPAs that haven’t been properly updated for the new release from breaking the upgrade.
There are two ways to tell update-manager to keep PPAs enabled. The
AllowThirdParty = yes configuration option tells update-manager to keep all third-party software repositories (repos) enabled. While useful for some users and sysadmins, this option is quite dangerous for a PPA maintainer to use, since it’s impossible to test all combinations of repos a user may have added.
The other option, which until now has been little documented, is to add the repo you want to keep enabled in the
[ThirdPartyMirrors] configuration section. This is useful for PPA and third-party repo maintainers who want or need to keep it enabled through upgrades. Be careful to test your PPA/repo and packages upgrade to make sure everything transitions correctly. Turning this on when your PPA/repo doesn’t properly support the new release can break the upgrade.
Create a file in
/etc/update-manager/release-upgrades.d/ with a
.cfg extension. You should give it a descriptive and unique name since other packages may provide their own config files.
Sysadmins and users who want to keep all PPAs/repos enabled can put the following into their
[Sources] AllowThirdParty = yes
To keep one specific ppa/repo enabled, create a key = value pair inside a
[ThirdPartyMirrors] myppa = http://ppa.launchpad.net/myppa/stable/ubuntu/
The key can be any string as long as it’s unique within the section. The value is the url of the ppa you want to keep enabled. You can find this url in the
.list file for the PPA, which can be found in