Public bug reported:

This package for focal seems to miss a dependency.
Namely python3-futures.

Reproducing the bug
--------------------------------

Reproducable Docker file:
Built with "docker build . -t csettest"

--------
FROM ubuntu:focal

RUN apt update && apt install -y cpuset

ENTRYPOINT ["cset", "--help"]
-------

Running the docker file:

-------
$ docker run --rm -it csettest

Traceback (most recent call last):
  File "/usr/bin/cset", line 44, in <module>
      from cpuset.main import main
        File "/usr/lib/python3/dist-packages/cpuset/main.py", line 7, in 
<module>
            from future import standard_library
            ModuleNotFoundError: No module named 'future'
-------
--------------------------------


Possible fix with python3-future
--------------------------------

Docker file:
-------
FROM ubuntu:focal

RUN apt update && apt install -y cpuset python3-future

ENTRYPOINT ["cset", "--help"]
-------


Running the Docker file
-------
$ docker run --rm -it csettest

Usage: cset [global options] <command> [command options]

Global options:
  -l/--log <fname>       output debugging log in fname
    -m/--machine           print machine readable output
      -x/--tohex <CPUSPEC>   convert a CPUSPEC to hex

      Generic commands:
        help        print the detailed command usage
          version     display version information
            copyright   display copyright information

            Super commands (high-level and multi-function):
              shield      supercommand to set up and manage basic shielding

              Regular commands:
                proc        create and manage processes within cpusets
                  set         create, modify and destroy cpusets
-------
--------------------------------

** Affects: cpuset (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal packaging

** Tags added: focal

** Tags added: packaging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1907881

Title:
  cpuset package missing dependency in focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to