Why isn't yum update working on Python?
I tried running yum update -y --skip-broken
and it didn't work. I just got a whole bunch of error messages like the following
install of python3-pip-9.0.3-5.el7.noarch conflicts with a file from package python36u-pip-9.0.0.1-1.ius.el7.noarch
What's going on here?
1 Reply
What seems to be happening in this case is that yum is trying to install two different versions of Python and that is causing issues. It is likely that you have two or more repos enabled which both contain the Python files. You can double check this by running
yum info python36u-pip-9.0.1-1.ius.el7.noarch | grep "repo"
yum info python3-pip-9.0.3-5.el7.noarch | grep "repo"
What I would recommend is choosing which of those you would like to keep and disabling the other repo. You can do this with:
yum upgrade --disablerepo=$REPO
You can find more information about this here.