Prevent do-release-upgrade from disabling 3rd party repos

Sam Varshavchik mrsam at courier-mta.com
Fri Aug 30 11:35:23 UTC 2024


I have a local APT repository with custom packages that I install, it's  
added to /etc/apt/sources

I want to use do-release-upgrade to update jammy to noble.

I rebuilt my custom packages for noble, using pbuilder-dist, and installed  
them in the apt repo, everything should be ready to go.

However, no matter what I try, do-release-upgrade wants to disable third  
party repos:

===============================================================
Third party sources disabled

Some third party entries in your sources.list were disabled. You can
re-enable them after the upgrade with the 'software-properties' tool
or your package manager.

===============================================================

Things that I have tried, based on Googling around:

1)

$ cat /etc/update-manager/release-upgrades.d/mine.cfg
[Sources]
AllowThirdParty = yes

2)

$ do-release-upgrade --allow-third-party

Neither one makes any difference. do-release-upgrade still issues a warning  
that it's going to disable third party sources. How do I do this, for  
upgrading from jammy to noble?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20240830/53acf34a/attachment.sig>


More information about the ubuntu-users mailing list