[xml/sgml-pkgs] Bug#991146: python3-libxml2: ambiguous package name 'python3-libxml2' with more than one installed instance

Thorsten Glaser tg at mirbsd.de
Thu Jul 15 17:27:59 BST 2021


Package: python3-libxml2
Version: 2.9.10+dfsg-6.7
Severity: serious
Justification: fails to install
X-Debbugs-Cc: tg at mirbsd.de

During crossgrading or when installing multiple versions of python3-libxml2
they fail to configure because of a bug in the postinst script:

Setting up python3-libxml2:amd64 (2.9.10+dfsg-6.7) ...
dpkg-query: error: --listfiles needs a valid package name but 'python3-libxml2' is not: ambiguous package name 'python3-libxml2' with more than one installed instance

Use --help for help about querying packages.
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 319, in <module>
    main()
  File "/usr/bin/py3compile", line 298, in main
    compile(files, versions,
  File "/usr/bin/py3compile", line 183, in compile
    for fn, versions_to_compile in filter_files(files, e_patterns, versions):
  File "/usr/bin/py3compile", line 128, in filter_files
    for fpath in files:
  File "/usr/share/python3/debpython/files.py", line 71, in filter_public
    for fn in files:
  File "/usr/share/python3/debpython/files.py", line 53, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of python3-libxml2
dpkg: error processing package python3-libxml2:amd64 (--configure):
 installed python3-libxml2:amd64 package post-installation script subprocess returned error exit status 1



-- System Information:
Debian Release: 11.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: x32, i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages python3-libxml2 depends on:
ii  libc6    2.31-13
ii  libxml2  2.9.10+dfsg-6.7
ii  python3  3.9.2-3

python3-libxml2 recommends no packages.

python3-libxml2 suggests no packages.

-- no debconf information



More information about the debian-xml-sgml-pkgs mailing list