Run into the same problem upgrading 23.10 to 24.04.
I run do-release-upgrade. Checking /var/log/dist-upgrade/main.log, I could see that the problem was:
2024-06-14 21:00:38,539 DEBUG Searching for replacement for libts0
2024-06-14 21:00:38,562 ERROR not handled exception:
...
File "/tmp/ubuntu-release-upgrader-t3r65jm_/DistUpgrade/DistUpgradeQuirks.py", line 1845, in _install_t64_replacement_packages
if replacement.candidate._cand != ver: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute '_cand'
Replaced libts0:1.22.1 with libts0t64 1.22.1-1build1 instead of removing it, and this allowed me to proceed with the upgrade.
It hasn't completed yet, I don't know whether I'll find something else.
Run into the same problem upgrading 23.10 to 24.04.
I run do-release-upgrade. Checking /var/log/ dist-upgrade/ main.log, I could see that the problem was:
2024-06-14 21:00:38,539 DEBUG Searching for replacement for libts0 release- upgrader- t3r65jm_ /DistUpgrade/ DistUpgradeQuir ks.py", line 1845, in _install_ t64_replacement _packages candidate. _cand != ver:
^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^
2024-06-14 21:00:38,562 ERROR not handled exception:
...
File "/tmp/ubuntu-
if replacement.
AttributeError: 'NoneType' object has no attribute '_cand'
Replaced libts0:1.22.1 with libts0t64 1.22.1-1build1 instead of removing it, and this allowed me to proceed with the upgrade.
It hasn't completed yet, I don't know whether I'll find something else.