I verified the fix using 1:24.04.25 from noble-proposed. One missing step in the test plan is to enable multi-arch if necessary:
root@j:~# dpkg --add-architecture i386 Then copy the apt-clone tarball from the bug, and copy it's dpkg status: root@j:~# wget https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2081864/+attachment/5821544/+files/VarLogDistupgradeAptclonesystemstate.tar.gz --2025-01-30 20:00:13-- https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2081864/+attachment/5821544/+files/VarLogDistupgradeAptclonesystemstate.tar.gz Resolving bugs.launchpad.net (bugs.launchpad.net)... 185.125.189.222, 185.125.189.223, 2620:2d:4000:1009::f3, ... Connecting to bugs.launchpad.net (bugs.launchpad.net)|185.125.189.222|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://launchpadlibrarian.net/751168817/VarLogDistupgradeAptclonesystemstate.tar.gz [following] --2025-01-30 20:00:14-- https://launchpadlibrarian.net/751168817/VarLogDistupgradeAptclonesystemstate.tar.gz Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 185.125.189.228, 185.125.189.229, 2620:2d:4000:1009::3b8, ... Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|185.125.189.228|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 870975 (851K) [application/x-gzip] Saving to: ‘VarLogDistupgradeAptclonesystemstate.tar.gz’ VarLogDistupgradeAptclonesyst 100%[================================================>] 850.56K 1.80MB/s in 0.5s 2025-01-30 20:00:15 (1.80 MB/s) - ‘VarLogDistupgradeAptclonesystemstate.tar.gz’ saved [870975/870975] root@j:~# tar xf VarLogDistupgradeAptclonesystemstate.tar.gz root@j:~# cp var/lib/apt-clone/dpkg-status /var/lib/dpkg/status Run the upgrader without --proposed to verify it fails: root@j:~# do-release-upgrade ... SNIP ... Checking package manager Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating the changes Calculating the changes Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'. Restoring original system state Aborting Reading package lists... Done Building dependency tree... Done Reading state information... Done Then verify that the version in -proposed is able to calculate the upgrade: root@j:~# do-release-upgrade --proposed Checking package manager Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating the changes Calculating the changes No candidate ver: libisc-export95 No candidate ver: libssl1.0.0 No candidate ver: libisc-export95 No candidate ver: libssl1.0.0 Do you want to start the upgrade? 36 installed packages are no longer supported by Canonical. You can still get support from the community. 173 packages are going to be removed. 313 new packages are going to be installed. 2220 packages are going to be upgraded. You have to download a total of 4815 M. This download will take about 16 minutes with a 40Mbit connection and about 2 hours 8 minutes with a 5Mbit connection. Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d] ** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-done verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081864 Title: Cross-grades/replacements are considered replacement packages To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2081864/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs