Prevent do-release-upgrade from disabling 3rd party repos
Chris Green
cl at isbd.net
Fri Aug 30 11:40:02 UTC 2024
On Fri, Aug 30, 2024 at 07:35:23AM -0400, Sam Varshavchik wrote:
> 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?
>
Just do the upgrade, then re-enable the 3rd part sources and do 'apt
update', 'apt upgrade'.
--
Chris Green
More information about the ubuntu-users
mailing list