[Bug 2045784] Re: Set APT::Get::Always-Include-Phased-Updates in ubuntu-release-upgrader
Launchpad Bug Tracker
2045784 at bugs.launchpad.net
Sat Jan 6 00:56:32 UTC 2024
This bug was fixed in the package ubuntu-release-upgrader - 1:24.04.4
---------------
ubuntu-release-upgrader (1:24.04.4) noble; urgency=medium
* DistUpgrade: re-enable migration to deb822 on upgrade
* DistUpgrade: configure apt to install phased updates during upgrade (LP: #2045784)
* Run pre-build.sh: updating po files, mirrors, and demotions.
-- Nick Rosbrook <enr0n at ubuntu.com> Fri, 05 Jan 2024 15:38:49 -0500
** Changed in: ubuntu-release-upgrader (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2045784
Title:
Set APT::Get::Always-Include-Phased-Updates in ubuntu-release-
upgrader
Status in ubuntu-release-upgrader package in Ubuntu:
Fix Released
Bug description:
We had a bunch of mysterious update failures and talking about it I
realized this might be caused by phased updates. I thought we had set
"APT::Get::Always-Include-Phased-Updates" to always make the u-r-u
pick up upgrades that are still phasing, but looking through the code
I don't see it.
Without the flag, APT will keep back the package from upgrading and
keep it on the installed version from the previous release, which is
not what we want. It may then keep back stuff depending on the new
version and eventually keep back entire subtrees of the upgrade.
So basically just set
apt_pkg.config["APT::Get::Always-Include-Phased-Updates"] = "yes"
To make APT install phased upgrades during release upgrades.
Sadly APT is not able to just switch to another version at this point, maybe one day launchpad keeps old updates around while phasing and we can then rework the apt phasing to use those, but it also needs a different solver that can handle ordered lists of versions rather than one candidate version.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2045784/+subscriptions
More information about the foundations-bugs
mailing list