Public bug reported:
`nala upgrade` raises IndexError in summary.py:190 when the transaction contains
a package with old_version == new_version and no `-` in the version string.
if old_ver[0] == new_ver[0]:
return f"{new_ver[0]}-{color(new_ver[1], 'YELLOW')}" # new_ver has 1
element
The crash is in print_update_summary(), before the y/n prompt, so the whole
transaction is dropped. apt full-upgrade handles the same plan fine.
Repro: ttf-mscorefonts-installer 3.8.2 → 3.8.2 in the upgrade list. The package
is pulled by Recommends from common metapackages, so this hits regularly.
In my case it silently blocked nvidia-driver-580 and
linux-modules-nvidia-580-open-6.17.0-23-generic for the running kernel.
Result: no nvidia.ko for 6.17.0-23, nvidia-smi dead, external output gone,
internal panel at 1280x800. Not obvious it was nala until I read the traceback.
Fixed upstream in 0.15.2, 2024-05-10:
https://github.com/volitank/nala/blob/main/debian/changelog
"Fix index error when diff same version"
noble still ships 0.15.1-1. Please SRU.
** Affects: nala (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch-available regression-update
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152704
Title:
nala 0.15.1 (noble): IndexError in version_diff aborts upgrade
transactions
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nala/+bug/2152704/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs