cpuset package missing dependency in focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cpuset (Debian) |
Fix Released
|
Unknown
|
|||
cpuset (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Focal |
Fix Released
|
Low
|
Brian Murray |
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/
from future import standard_library
-------
-------
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
Super commands (high-level and multi-function):
-------
-------
tags: | added: focal |
tags: | added: packaging |
Changed in cpuset (Debian): | |
status: | Unknown → Fix Released |
tags: | added: unmetdeps |
Changed in cpuset (Ubuntu): | |
importance: | Undecided → Low |
Changed in cpuset (Ubuntu Focal): | |
importance: | Undecided → Low |
Changed in cpuset (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.