Handle (t64) package replacements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Release Notes for Ubuntu |
New
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Critical
|
Nick Rosbrook | ||
Noble |
Fix Released
|
Critical
|
Nick Rosbrook |
Bug Description
We should do something like:
for package in cache:
if package.
replacement = <find a package in the archive that Conflicts/Breaks + Replaces + Provides it>
replacemen
replacemen
To hint the solver to remove the installed pre-t64 packages and install packages replacing it. We gotta do some auto_fix, auto_inst False stuff as we do not want to resolve the dependencies at this point, let the upgrader work on this.
I do not believe we have to protect our choice to remove the packages here like we did for gpg-wks-server as the packages are not updatable, but I can't say I've checked. Potentially maybe just the mark_install are enough since they will inevitably result in removals anyway, but this would be easier if the removal sticks around.
Related branches
- Julian Andres Klode: Approve
-
Diff: 149 lines (+82/-13)1 file modifiedDistUpgrade/DistUpgradeQuirks.py (+82/-13)
tags: | added: foundations-todo |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Triaged |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | In Progress → Fix Committed |
milestone: | none → ubuntu-24.04 |
This bug was fixed in the package ubuntu- release- upgrader - 1:24.04.14
--------------- release- upgrader (1:24.04.14) noble; urgency=medium
ubuntu-
[ Brian Murray ]
* Set prompt to lts because 24.04 is one (LP: #2061214)
[ Nick Rosbrook ] apt-xapian- index
* DistUpgradeQuirks: tell apport to ignore update-
(LP: #2058227)
* DistUpgradeQuirk: fix check for linux-image-raspi in cache (LP: #2061181)
* DistUpgradeQuirks: handle t64 replacement packages (LP: #2061175)
* Run pre-build.sh: updating mirrors, demotions, and translations.
-- Nick Rosbrook <email address hidden> Mon, 15 Apr 2024 15:02:26 -0400