[Bug 2059727] [NEW] python3-distutils used removed method ConfigParser.readfp
Stephan Seitz
2059727 at bugs.launchpad.net
Thu Mar 28 19:47:17 UTC 2024
Public bug reported:
Bug report was not created from the system where I discovered the bug. I
discovered the bug in a Noble rescue session.
Noble switched Python system interpreter to Python 3.12
(https://docs.python.org/3/whatsnew/3.12.html#configparser).
python3-distupgrade
(https://packages.ubuntu.com/noble/python3-distupgrade) uses
ConfigParser.readfp in /usr/lib/python3/dist-
packages/DistUpgrade/DistUpgradeController.py . This will cause "Repair
packages" in Noble rescue system to fail.
Suggested fix is to use ConfigParser.read_file as suggested in Python
3.12 release notes.
Related:
https://bugs.launchpad.net/hplip/+bug/2028001
Below automatically collected info is wrong. I encountered the bug in a
Noble 24.04 system while trying to debug the missing libmtdev1t64 in
https://packages.ubuntu.com/noble/libinput10 (I removed network-manager
while resolving the package conflicts)
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: python3-distupgrade 1:23.10.14
ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports: 640:1000:125:1352000:2024-03-28 15:50:05.644506454 +0100:2024-03-28 15:50:06.644506454 +0100:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_xdg-desktop-portal-kde.1000.crash
CurrentDesktop: KDE
Date: Thu Mar 28 20:39:59 2024
InstallationDate: Installed on 2021-05-16 (1047 days ago)
InstallationMedia: Xubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to mantic on 2024-03-28 (0 days ago)
VarLogDistupgradeTermlog:
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug dist-upgrade mantic wayland-session
** Description changed:
Bug report was not created from the system where I discovered the bug. I
discovered the bug in a Noble rescue session.
Noble switched Python system interpreter to Python 3.12
(https://docs.python.org/3/whatsnew/3.12.html#configparser).
python3-distupgrade
(https://packages.ubuntu.com/noble/python3-distupgrade) uses
ConfigParser.readfp in /usr/lib/python3/dist-
packages/DistUpgrade/DistUpgradeController.py . This will cause "Repair
packages" in Noble rescue system to fail.
Suggested fix is to use ConfigParser.read_file as suggested in Python
3.12 release notes.
+
Related:
https://bugs.launchpad.net/hplip/+bug/2028001
+
+ Below automatically collected info is wrong. I encountered the bug in a
+ Noble 24.04 system while trying to debug the missing libmtdev1t64 in
+ https://packages.ubuntu.com/noble/libinput10 (I removed network-manager
+ while resolving the package conflicts)
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: python3-distupgrade 1:23.10.14
ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports: 640:1000:125:1352000:2024-03-28 15:50:05.644506454 +0100:2024-03-28 15:50:06.644506454 +0100:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_xdg-desktop-portal-kde.1000.crash
CurrentDesktop: KDE
Date: Thu Mar 28 20:39:59 2024
InstallationDate: Installed on 2021-05-16 (1047 days ago)
InstallationMedia: Xubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to mantic on 2024-03-28 (0 days ago)
VarLogDistupgradeTermlog:
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2059727
Title:
python3-distutils used removed method ConfigParser.readfp
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
Bug report was not created from the system where I discovered the bug.
I discovered the bug in a Noble rescue session.
Noble switched Python system interpreter to Python 3.12
(https://docs.python.org/3/whatsnew/3.12.html#configparser).
python3-distupgrade
(https://packages.ubuntu.com/noble/python3-distupgrade) uses
ConfigParser.readfp in /usr/lib/python3/dist-
packages/DistUpgrade/DistUpgradeController.py . This will cause
"Repair packages" in Noble rescue system to fail.
Suggested fix is to use ConfigParser.read_file as suggested in Python
3.12 release notes.
Related:
https://bugs.launchpad.net/hplip/+bug/2028001
Below automatically collected info is wrong. I encountered the bug in
a Noble 24.04 system while trying to debug the missing libmtdev1t64 in
https://packages.ubuntu.com/noble/libinput10 (I removed network-
manager while resolving the package conflicts)
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: python3-distupgrade 1:23.10.14
ProcVersionSignature: Ubuntu 6.5.0-26.26-generic 6.5.13
Uname: Linux 6.5.0-26-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.27.0-0ubuntu5
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CrashReports: 640:1000:125:1352000:2024-03-28 15:50:05.644506454 +0100:2024-03-28 15:50:06.644506454 +0100:/var/crash/_usr_lib_x86_64-linux-gnu_libexec_xdg-desktop-portal-kde.1000.crash
CurrentDesktop: KDE
Date: Thu Mar 28 20:39:59 2024
InstallationDate: Installed on 2021-05-16 (1047 days ago)
InstallationMedia: Xubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to mantic on 2024-03-28 (0 days ago)
VarLogDistupgradeTermlog:
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2059727/+subscriptions
More information about the foundations-bugs
mailing list