Package: openscap-utils
Version: 1.3.8+dfsg-1
Severity: normal

Dear Maintainer,

oscap-docker doesn't working due to a missing dependency on
python3-openscap as seen below:

$ oscap-docker 
Traceback (most recent call last):
  File "/usr/bin/oscap-docker", line 24, in <module>
    from oscap_docker_python.oscap_docker_util import OscapDockerScan
ModuleNotFoundError: No module named 'oscap_docker_python'

After running:
apt-get install -y python3-openscap
then trying again, another missing dependency is revealed, this time on
python3-docker:

$ oscap-docker 
Traceback (most recent call last):
  File "/usr/bin/oscap-docker", line 24, in <module>
    from oscap_docker_python.oscap_docker_util import OscapDockerScan
  File 
"/usr/lib/python3/dist-packages/oscap_docker_python/oscap_docker_util.py", line 
30, in <module>
    import docker
ModuleNotFoundError: No module named 'docker'

Therefore, I believe the solution to this bug to have two parts:
1. For openscap-utils, add a dependency on python3-openscap
2. For python3-openscap, add a dependency on python3-docker

Thank you!

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


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

Kernel: Linux 6.3.12-200.fc38.x86_64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages openscap-utils depends on:
ii  openscap-scanner  1.3.8+dfsg-1
ii  python3           3.11.4-5
ii  rpm               4.18.0+dfsg-1+b1

openscap-utils recommends no packages.

Versions of packages openscap-utils suggests:
pn  openscap-doc  <none>

-- no debconf information

Reply via email to