python2 package not found or not installed

  dnf, docker, python, python-2.x, yum

I’m getting the below error on executing "RUN tdnf install python2 -y" in my dockerfile

python2 package not found or not installed  
Error(1011) : No matching packages

This was working till now, but suddenly started throwing this error today.
I’m getting the same error for python-requests as well but python3 is proceeding successfully.

Source: Docker Questions

LEAVE A COMMENT