Closed
Description
We have rpm -V
as a verification of installed packages In the Dockerfiles, like this one:
s2i-python-container/3.9/Dockerfile.rhel9
Line 46 in 92131e2
But this restriction removes the possibility to install packages by their alternative names. For example, Python 3.9 on C9S provides:
# rpm -q --provides python3
platform-python = 3.9.16-1.el9
platform-python(x86-64) = 3.9.16-1.el9
python(abi) = 3.9
python(abi) = 3.9
python3 = 3.9.16-1.el9
python3(x86-64) = 3.9.16-1.el9
python3.9 = 3.9.16-1.el9
python3.9(x86-64) = 3.9.16-1.el9
python39 = 3.9.16-1.el9
so it does not really matters whether I install python3.9 or python39 but the verification step fails in that case because the name of the RPM package is python3 and rpm -V python3.9
fails.
My question is: Why do we need that given the fact that the dnf/microdnf fails if they get an unknown package name to install and their failure stops the build?
Metadata
Metadata
Assignees
Labels
No labels