🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Christoffer Haglund Fri, 30 Oct 2026 11:20
Bug#1152542: python3-ipalib: missing dependency on python3-packaging; ipa fails with ModuleNotFoundError
#2682
Author: Christoffer Haglund
Date: Fri, 30 Oct 2026 11:20
87 lines
4833 bytes
Package: python3-ipalib
Version: 4.13.1-1
Severity: important
X-Debbugs-Cc: reported-debian-bugs@hglnd.se

Dear Maintainer,

After installing freeipa-client 4.13.1-1+b1 on unstable, the ipa command
fails immediately because the Python module "packaging" is not installed:

  $ ipa
  Traceback (most recent call last):
    File "/usr/bin/ipa", line 27, in <module>
      from ipaclient.__main__ import main
    File "/usr/lib/python3/dist-packages/ipaclient/__main__.py", line 7, in
<module>
      from ipalib import api, cli
    File "/usr/lib/python3/dist-packages/ipalib/__init__.py", line 884, in
<module>
      from ipapython.version import VERSION as __version__
    File "/usr/lib/python3/dist-packages/ipapython/version.py", line 20, in
<module>
      from packaging.version import parse as parse_version
  ModuleNotFoundError: No module named 'packaging'

/usr/lib/python3/dist-packages/ipapython/version.py is shipped by
python3-ipalib and imports packaging.version, but python3-ipalib does not
depend on python3-packaging. Neither does python3-ipaclient or
freeipa-client, and python3-packaging was not installed on this system.

Because ipalib is imported at startup, this makes the ipa command unusable
unless python3-packaging happens to be installed already.

Suggested fix: add python3-packaging to the Depends of python3-ipalib

Workaround: installing the missing package manually resolves the error

  # apt install python3-packaging


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.13+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
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 python3-ipalib depends on:
ii  freeipa-common          4.13.1-1
ii  gpg                     2.4.9-8
ii  gpg-agent               2.4.9-8
ii  keyutils                1.6.3-6+b2
ii  librpm-sequoia-dev      1.10.3-1
ii  python3                 3.14.8-1
ii  python3-cffi            2.1.1-2
ii  python3-cryptography    49.0.0-2
ii  python3-dbus            1.5.1-1
ii  python3-dnspython       2.8.0-7
ii  python3-gssapi          1.11.1-2
ii  python3-ifaddr          0.2.0-2
ii  python3-ldap            3.4.8-1+b1
ii  python3-libipa-hbac     2.13.1-3
ii  python3-lxml            6.1.3-1.1
ii  python3-netaddr         1.3.0-3
ii  python3-netifaces       0.11.0-2+b9
ii  python3-pyasn1          0.6.4-1
ii  python3-pyasn1-modules  0.4.1-2
ii  python3-qrcode          8.2-1
ii  python3-requests        2.34.2-1
ii  python3-setuptools      84.2.0-1
ii  python3-six             1.17.0-3
ii  python3-urllib3         2.8.0-2
ii  python3-usb             1.2.1-3
ii  python3-yubico          1.3.3-4
ii  systemd                 262.1-1

python3-ipalib recommends no packages.

python3-ipalib suggests no packages.

-- no debconf information
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads