Package: python3-apt Version: 2.9.6+b1 Severity: important Tags: upstream X-Debbugs-Cc: da.go...@samsung.com
Dear Maintainer, The latest python3-apt releases 2.9.8 and 2.9.7 produce the following error with Ansible: Error message: python3-apt must be installed and visible from /usr/bin/python3. As workaround, downgrading the package to the latest version working (2.9.6) "solves" the issue: apt install -y python3-setuptools libapt-pkg-dev python3-pip git pip3 git+https://salsa.debian.org/apt-team/python-apt.git@2.9.6 \ --break-system-packages Tested with Ansible version: ii ansible 9.5.1+dfsg-1 all ii ansible-core 2.17.1-1 ansible --version ansible [core 2.17.1] ... python version = 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0] (/usr/bin/python3) jinja version = 3.1.3 libyaml = True ansible-playbook --version ansible-playbook [core 2.17.1] ... executable location = /usr/bin/ansible-playbook python version = 3.12.6 (main, Sep 7 2024, 14:20:15) [GCC 14.2.0] (/usr/bin/python3) jinja version = 3.1.3 libyaml = True Also, Reported in kdevops project: https://lore.kernel.org/all/20250131-fix-python3-apt-v1-1-bcdb14b14...@samsung.com/ Found the same issue in ludus: https://gitlab.com/badsectorlabs/ludus/-/issues/76 Daniel