Error in updating the system.

General support questions
Post Reply
janbaztaimoor
Posts: 14
Joined: 2017/08/27 07:12:01

Error in updating the system.

Post by janbaztaimoor » 2019/10/08 04:08:47

was trying to update the system. These are the error messages.

Code: Select all

Transaction check error:
  file /usr/lib/python3.6/site-packages/pkg_resources/__init__.py from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/config.py from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/dist.py from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/extern/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/_vendor/packaging/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/pkg_resources/extern/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch
  file /usr/lib/python3.6/site-packages/setuptools/_vendor/__pycache__/__init__.cpython-36.pyc from install of python3-setuptools-39.2.0-10.el7.noarch conflicts with file from package python36u-setuptools-39.0.1-1.ius.el7.noarch

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Error in updating the system.

Post by TrevorH » 2019/10/08 07:26:12

Redhat have now released python3 packages for RHEL 7 so the old workaround of needing IUS no longer applies. I believe that IUS intend to retire their python36u package series. You will want to check that all of the python36u packages that you currently use from IUS are available from base/updates before you continue but you will probably need to uninstall the IUS packages and replace them with the python3-* ones.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply