Crash during upgrade from Mantic to Noble due to Python 3.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-xapian-index (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
High
|
Nick Rosbrook |
Bug Description
Upgrading from Mantic to Noble often triggers a crash related to Python 3.12 compatibility:
```
Traceback (most recent call last):
File "/usr/sbin/
import axi.indexer
File "/usr/lib/
import imp
ModuleNotFoundE
```
I guess that the crash happens when the indexer code is called while still being in the Mantic version, but the default Python3 package has already been upgraded to 3.12. However, that situation doesn't happen all the time, and the upgrade is sometimes able to complete without crash.
For some reasons, I mostly (only?) see this on Kubuntu upgrades.
Maybe that situation could also happen while upgrading from Jammy, but as the upgrade is currently broken due to some other issues, I haven't seen it yet.
Related branches
- Julian Andres Klode: Approve
-
Diff: 149 lines (+82/-13)1 file modifiedDistUpgrade/DistUpgradeQuirks.py (+82/-13)
description: | updated |
tags: |
added: foundations-todo removed: rls-nn-incoming |
Changed in ubuntu-release-upgrader (Ubuntu): | |
milestone: | ubuntu-24.04-beta → ubuntu-24.04 |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → Triaged |
Changed in apt-xapian-index (Ubuntu): | |
status: | New → Confirmed |
During the Foundations team meeting we talked about adding a quirk to "turn off" a-x-i.