You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build the example docker image of the frontend, the build fails with the error message 5.816 E: Package 'python' has no installation candidate
Steps to reproduce
Build docker image from frontend Dockerfile.
What is the current bug behavior?
Build fails at step 6/8 with the error message 5.816 E: Package 'python' has no installation candidate
What is the expected correct behavior?
Build should complete successfully
Relevant logs and/or screenshots
=> ERROR [conntest_frontend build-step 6/8] RUN apt update && apt install python -y 9.3s
------
> [conntest_frontend build-step 6/8] RUN apt update && apt install python -y:
0.608
0.608 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0.608
0.851 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
0.939 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
0.979 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
2.087 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8906 kB]
2.999 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6432 B]
3.253 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [63.2 kB]
4.141 Fetched 9227 kB in 4s (2621 kB/s)
4.141 Reading package lists...
4.696 Building dependency tree...
4.886 Reading state information...
4.907 All packages are up to date.
4.915
4.915 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
4.915
4.917 Reading package lists...
5.614 Building dependency tree...
5.804 Reading state information...
5.813 Package python is not available, but is referred to by another package.
5.813 This may mean that the package is missing, has been obsoleted, or
5.813 is only available from another source
5.813 However the following packages replace it:
5.813 python-is-python3 2to3
5.813
5.816 E: Package 'python' has no installation candidate
------
failed to solve: process "/bin/sh -c apt update && apt install python -y" did not complete successfully: exit code: 100
Docker example image for frontend won't build
Summary
When trying to build the example docker image of the frontend, the build fails with the error message
5.816 E: Package 'python' has no installation candidate
Steps to reproduce
Build docker image from frontend Dockerfile.
What is the current bug behavior?
Build fails at step 6/8 with the error message
5.816 E: Package 'python' has no installation candidate
What is the expected correct behavior?
Build should complete successfully
Relevant logs and/or screenshots
Line of code
https://github.com/industrial-edge/connectivity-tester/blob/main/src/frontend_react/Dockerfile.example#L16
Suggestion
Replace
python
package withpython-is-python3
in the forementioned line like this:RUN apt update && apt install python-is-python3 -y
The text was updated successfully, but these errors were encountered: