Upgrading from Mantic to Noble often triggers a crash related to Python 3.12 compatibility:
```
Traceback (most recent call last):
File "/usr/sbin/update-apt-xapian-index", line 66, in <module>
import axi.indexer
File "/usr/lib/python3/dist-packages/axi/indexer.py", line 27, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
```
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.
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.
Upgrading from Mantic to Noble often triggers a crash related to Python 3.12 compatibility: update- apt-xapian- index", line 66, in <module> python3/ dist-packages/ axi/indexer. py", line 27, in <module> rror: No module named 'imp'
```
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.
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.