Saltstack installation failure due to Python version conflict

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.