Welcome to Centmin Mod Community
Register Now

Upgrade Yum Update Issue - Python Conflicts

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BigIron, Dec 9, 2018 at 4:03 AM.

  1. BigIron

    BigIron Member

    54
    10
    8
    Sep 18, 2015
    Ratings:
    +13
    Local Time:
    11:04 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.3
    • PHP Version Installed: 7.2.10
    • MariaDB MySQL Version Installed: 10.1.36
    • When was last time updated Centmin Mod code base ? : Today
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? No

    Trying to update via

    Code:
    yum update --disableplugin=priorities --enablerepo=remi 
    Getting this error

    Code:
    Transaction check error:
      file /usr/lib/python2.7/site-packages/socks.py conflicts between attempted installs of python2-pysocks-1.6.8-5.el7.noarch and python-SocksiPy-1.00-4.el7.art.noarch
      file /usr/lib/python2.7/site-packages/socks.pyc conflicts between attempted installs of python2-pysocks-1.6.8-5.el7.noarch and python-SocksiPy-1.00-4.el7.art.noarch
      file /usr/lib/python2.7/site-packages/socks.pyo conflicts between attempted installs of python2-pysocks-1.6.8-5.el7.noarch and python-SocksiPy-1.00-4.el7.art.noarch
    
    Any ideas?
     
  2. eva2000

    eva2000 Administrator Staff Member

    37,227
    8,133
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,521
    Local Time:
    5:04 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    belongs to 3rd party Atomic YUM repository python-SocksiPy-1.00-4.el7.art.noarch.rpm CentOS 7 Download. You installed that Atomic repo manually yourself ? As Centmin Mod doesn't install this and for 3rd party YUM repos that Centmin Mod does install, ones that can cause potential conflict are managed via YUM Priorities outlined at Third Party YUM Repos with Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS.

    You can try to just use yum to remove python-SocksiPy-1.00-4.el7.art.noarch and install the proper yum package for python2-pysocks-1.6.8-5.el7.noarch which seems to be an EPEL YUM repo package.

    For CentOS 7, maybe able to use yum swap command
    Code (Text):
    yum swap python-SocksiPy-1.00-4 python2-pysocks-1.6.8-5
    

    Then you need to configure your Atomic YUM config to use YUM priorities and maybe in Atomic YUM config file set exclude=python-SocksiPy so future conflicts don't happen PackageManagement/Yum/Priorities - CentOS Wiki.
     
..