justdan96 / tsmuxer_build

Dockerfile for creating a container suitable for building tsMuxer with Linux, Windows and OSX outputs
Apache License 2.0
0 stars 1 forks source link

Package 'python' has no installation candidate #6

Open himslm01 opened 6 days ago

himslm01 commented 6 days ago

In October 2024, ubuntu:latest does not include the package python.

Either choose a specific version of ubuntu (which is is best practice to do anyway) and/or switch the package to python3 (which is what I've done locally to make the docker build continue).

Step 12/50 : RUN apt-get install -y git patch lzma-dev libxml2-dev libssl-dev python curl wget
 ---> Running in c4317f5248b9
Reading package lists...
Building dependency tree...
Reading state information...
Package python is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  2to3 python-is-python3

E: Package 'python' has no installation candidate
The command '/bin/sh -c apt-get install -y git patch lzma-dev libxml2-dev libssl-dev python curl wget' returned a non-zero code: 100
justdan96 commented 6 days ago

That's fair, should be fixed by 9cb1c8c.

justdan96 commented 6 days ago

Okay clearly more work is needed - I have some unmerged code I might be able to just test and PR.