yum-y Install Salt-master installation, the following error occurred:
file /usr/lib64/python2.6/zipfile.pyc from install of python-libs-2.6.6-66.el6_8.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64 file /usr/lib64/python2.6/zipfile.pyo from install of python-libs-2.6.6-66.el6_8.x86_64 conflicts with file from package python-2.6.6-36.el6.x86_64
From the error message can be found conflicts, which is the meaning of the conflict, that is, python-libs-2.6.6-66.el6_8.x86_64 and python-2.6.6-36.el6.x86_64 conflict;
Query discovery system already installed 2.6.6-26 version
[[email protected] ~]# rpm -q python-libspython-libs-2.6.6-36.el6.x86_64[[email protected] ~]# rpm -q pythonpython-2.6.6-36.el6.x86_64
The version of Yum installed Salt-master is 2015.5.10-2.el6 and requires a python-libs-2.6.6-66.el6.x86_64 version, resulting in a conflict
python-libs-2.6.6-66.el6_8.x86_6python-2.6.6-36.el6.x86_64
Attempt to uninstall the conflicting package and then install the required version, you can find that the package is not uninstalled, the packet is dependent on other packages, protected, cannot be uninstalled
Yum-y Remove python-2.6.6-36.el6.x86_64
Error: Trying to remove "yum", which is protected You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Change your mind, if I can upgrade
yum -y update python-2.6.6-36.el6.x86_64[[email protected] ~]# rpm -qa python-libs python-libs-2.6.6-66.el6_8.x86_64[[email protected] ~]# rpm -qa pythonpython-2.6.6-66.el6_8.x86_64
You can install Salt-master after upgrade.
Saltstack installation failure due to Python version conflict