[Bug 2038666] Re: libpython3.11-testsuite cannot be installed on Kubuntu 23.10
Paul White
2038666 at bugs.launchpad.net
Mon Oct 9 13:42:01 UTC 2023
Updated packages now released, actually version 3.11.6-3
python3-full, python3.11-full and libpython3.11-testsuite all successfully installed without error.
** Changed in: python3.11 (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2038666
Title:
libpython3.11-testsuite cannot be installed on Kubuntu 23.10
Status in python3.11 package in Ubuntu:
Fix Released
Bug description:
A recent update to python3.11 (to version 3.11.6) stopped the update
process from completing with errors telling me that python3-full and
python3.11-full could not be installed.
After a full reinstall of Kubuntu 23.10 without installing any
unnecessary Python packages I am met with the same problem, that is
libpython3.11-testsuite cannot be installed. The following is an
extract of the console output when trying to install the package
directly rather than as a dependency of the python3.11-full:
Selecting previously unselected package libpython3.11-testsuite.
Preparing to unpack .../libpython3.11-testsuite_3.11.6-1_all.deb ...
Unpacking libpython3.11-testsuite (3.11.6-1) ...
Setting up net-tools (2.10-0.1ubuntu3) ...
Setting up libpython3.11-testsuite (3.11.6-1) ...
File "/usr/lib/python3.11/test/test_future_stmt/badsyntax_future10.py", line 3
from __future__ import print_function
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: from __future__ imports must occur at the beginning of the file
dpkg: error processing package libpython3.11-testsuite (--configure):
installed libpython3.11-testsuite package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.11.2-3) ...
Errors were encountered while processing:
libpython3.11-testsuite
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up libpython3.11-testsuite (3.11.6-1) ...
File "/usr/lib/python3.11/test/test_future_stmt/badsyntax_future10.py", line 3
from __future__ import print_function
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: from __future__ imports must occur at the beginning of the file
dpkg: error processing package libpython3.11-testsuite (--configure):
installed libpython3.11-testsuite package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
libpython3.11-testsuite
I don't need this package installed but it was the source of an error
that prevented me from successfully updating a working installation.
ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: libpython3.11-testsuite 3.11.6-1
ProcVersionSignature: Ubuntu 6.5.0-7.7-generic 6.5.3
Uname: Linux 6.5.0-7-generic x86_64
ApportVersion: 2.27.0-0ubuntu4
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Fri Oct 6 15:45:12 2023
InstallationDate: Installed on 2023-10-06 (0 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20231006)
PackageArchitecture: all
SourcePackage: python3.11
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.11/+bug/2038666/+subscriptions
More information about the foundations-bugs
mailing list