[Bug 1907881] Re: cpuset package missing dependency in focal

Mathew Hodson 1907881 at bugs.launchpad.net
Mon Jan 3 17:47:26 UTC 2022


** Tags added: unmetdeps

** Also affects: cpuset (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: cpuset (Ubuntu)
   Importance: Undecided => Low

** Changed in: cpuset (Ubuntu Focal)
   Importance: Undecided => Low

** Changed in: cpuset (Ubuntu)
       Status: Confirmed => Fix Released

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

Title:
  cpuset package missing dependency in focal

Status in cpuset package in Ubuntu:
  Fix Released
Status in cpuset source package in Focal:
  New
Status in cpuset package in Debian:
  Fix Released

Bug description:
  Stable Release Update:

  [impact]
  cset fails to run without python3-future installed.

  This is a minor fix which already is present in newer Ubuntu releases.

  As mentioned in the comments below, the SRU is needed only in Focal,
  though I don't have permission to target the series.

  [test plan]
  sudo apt install cpuset
  cset --help
  #Should run without error message.

  [Where problems could occur]

  Minimal regression potential. As this is only adding an extra dependency it is otherwise equivalent of a no-change rebuild.
  The binary packages have no other reverse dependencies.

  Original report:

  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
  -------
  --------------------------------

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




More information about the Ubuntu-sponsors mailing list