distupgrade 'ConfigParser' object has no attribute 'readfp'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Running on Noble, after running apt dist-upgrade, in the recovery menu, run dpkg mode which in turn runs
python3 /usr/lib/
2024-04-03 20:10:04,192 INFO Using config files '['/usr/
2024-04-03 20:10:04,192 INFO uname information: 'Linux huahine 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 00:29:05 UTC 2024 x86_64'
2024-04-03 20:10:04,367 INFO apt version: '2.7.14'
2024-04-03 20:10:04,368 INFO python version: '3.12.2 (main, Mar 19 2024, 00:13:04) [GCC 13.2.0]'
2024-04-03 20:10:04,369 INFO release-upgrader version '24.04.11' started
2024-04-03 20:10:04,371 INFO locale: 'fr_FR' 'UTF-8'
2024-04-03 20:10:04,392 INFO screen could not be run
2024-04-03 20:10:04,405 DEBUG Using 'DistUpgradeVie
2024-04-03 20:10:04,423 DEBUG enable dpkg --force-overwrite
2024-04-03 20:10:04,463 DEBUG lsb-release: 'noble'
2024-04-03 20:10:04,464 DEBUG _pythonSymlinkCheck run
2024-04-03 20:10:04,468 ERROR not handled exception:
Traceback (most recent call last):
File "/usr/lib/
sys.
^^^^^^
File "/usr/lib/
if not app.doPartialUp
File "/usr/lib/
self.prepare()
File "/usr/lib/
if not self._pythonSym
File "/usr/lib/
config.
^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
2024-04-03 20:10:04,469 DEBUG running apport_crash()
python3-distupgrade 1:24.04.11
Status changed to 'Confirmed' because the bug affects multiple users.