Package: libpython3.11-testsuite
Version: 3.11.6-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: ara.ke...@gmail.com

Installation fails with a message


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
dpkg: dependency problems prevent configuration of python3.11-full:
 python3.11-full depends on libpython3.11-testsuite; however:
  Package libpython3.11-testsuite is not configured yet.

dpkg: error processing package python3.11-full (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpython3.11-testsuite
 python3.11-full
Error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not 
activate remote peer: activation request failed: unit is masked.
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
dpkg: dependency problems prevent configuration of python3.11-full:
 python3.11-full depends on libpython3.11-testsuite; however:
  Package libpython3.11-testsuite is not configured yet.

dpkg: error processing package python3.11-full (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpython3.11-testsuite
 python3.11-full
                                         


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpython3.11-testsuite depends on:
ii  net-tools   2.10-0.1
ii  python3.11  3.11.6-1

libpython3.11-testsuite recommends no packages.

Versions of packages libpython3.11-testsuite suggests:
ii  python3-gdbm  3.11.5-1
ii  python3-tk    3.11.5-1

-- no debconf information

  • Bug#1053471: libpython3.11-testsuite: Installation fails ... Ara Keary

Reply via email to