You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
I am unable to update python36u due to a large number of transaction check errors - and it looks like my IUS Python 3.6 is being replaced with EPEL Python 3.6:
python3 x86_64 3.6.8-10.el7 rhel-x86_64-server-7 69 k
replacing python36u.x86_64 3.6.8-1.el7.ius
Please note that I have not requested to install the EPEL version of python36.
This "update/replacement" has shown up on its own.
Can I keep my IUS Python 3.6 and avoid this replacement?
I'm experiencing this on RH7 and CentOS7.
See below for additional CLI output.
=========
The cli output below is from an RH7 server - however I am running into this issue on both RedHat 7 and CentOS 7 servers.
[root@gw yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.7 (Maipo)
[root@gw yum.repos.d]# yum -q repolist
repo id repo name status
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,416
ius/x86_64 IUS for Enterprise Linux 7 - x86_64 538
packages-microsoft-com-prod packages-microsoft-com-prod 416
rhel-x86_64-server-7 Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 26,498
rhel-x86_64-server-optional-7 RHEL Server Optional (v. 7 64-bit x86_64) 19,355
yum update shows Python packages that will be replaced:
==========================================================================================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================================================================================
Installing:
kernel x86_64 3.10.0-1062.4.1.el7 rhel-x86_64-server-7 50 M
python3 x86_64 3.6.8-10.el7 rhel-x86_64-server-7 69 k
replacing python36u.x86_64 3.6.8-1.el7.ius
python3-devel x86_64 3.6.8-10.el7 rhel-x86_64-server-optional-7 215 k
replacing python36u-devel.x86_64 3.6.8-1.el7.ius
python3-idle x86_64 3.6.8-10.el7 rhel-x86_64-server-optional-7 778 k
replacing python36u-tools.x86_64 3.6.8-1.el7.ius
python3-libs x86_64 3.6.8-10.el7 rhel-x86_64-server-7 7.0 M
replacing python36u-libs.x86_64 3.6.8-1.el7.ius
python3-pip noarch 9.0.3-5.el7 rhel-x86_64-server-7 1.8 M
replacing python36u-pip.noarch 9.0.1-1.ius.centos7
python3-setuptools noarch 39.2.0-10.el7 rhel-x86_64-server-7 629 k
replacing python36u-setuptools.noarch 39.0.1-1.ius.centos7
python3-tkinter x86_64 3.6.8-10.el7 rhel-x86_64-server-optional-7 364 k
replacing python36u-tkinter.x86_64 3.6.8-1.el7.ius
Pressing "y" to continue, the update proceeds to the "Running transaction test" phase at which point I receive an error dump and the update terminates.
The first few lines of the transaction error dump:
Transaction check error:
file /usr/bin/pip3.6 from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/share/bash-completion/completions/pip3.6 from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/lib/python3.6/site-packages/pip/__init__.py from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/lib/python3.6/site-packages/pip/_vendor/requests/__init__.py from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/lib/python3.6/site-packages/pip/utils/__init__.py from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/lib/python3.6/site-packages/pip/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
file /usr/lib/python3.6/site-packages/pip/_vendor/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pip-9.0.3-5.el7.noarch conflicts with file from package python36u-pip-9.0.1-1.ius.centos7.noarch
There are probably hundreds of lines of pip related conflict errors.
pip was installed from ius:
[root@gw yum.repos.d]# pip3.6 -V
pip 9.0.1 from /usr/lib/python3.6/site-packages (python 3.6)
[root@gw yum.repos.d]# yum info python36u-pip
Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Installed Packages
Name : python36u-pip
Arch : noarch
Version : 9.0.1
Release : 1.ius.centos7
Size : 8.9 M
Repo : installed
From repo : ius
Summary : A tool for installing and managing Python packages
URL : https://pip.pypa.io
License : MIT
Description : Pip is a replacement for `easy_install
: <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
: same techniques for finding packages, so packages that were made
: easy_installable should be pip-installable as well.
Available Packages
Name : python36u-pip
Arch : noarch
Version : 9.0.1
Release : 1.ius.el7
Size : 1.8 M
Repo : ius/x86_64
Summary : A tool for installing and managing Python packages
URL : https://pip.pypa.io
License : MIT
Description : Pip is a replacement for `easy_install
: <http://peak.telecommunity.com/DevCenter/EasyInstall>`_. It uses mostly the
: same techniques for finding packages, so packages that were made
: easy_installable should be pip-installable as well.
Conflicts with other files within /usr/lib/python3.6/site-packages/ are noted such as:
file /usr/bin/python3.6 from install of python3-3.6.8-10.el7.x86_64 conflicts with file from package python36u-3.6.8-1.el7.ius.x86_64
file /usr/bin/python3.6m from install of python3-3.6.8-10.el7.x86_64 conflicts with file from package python36u-3.6.8-1.el7.ius.x86_64
hundres of conflicts noted from: file /usr/lib64/python3.6
The text was updated successfully, but these errors were encountered:
I'm sorry you are running into this problem. We attempted to set up a clean transition from IUS's python36u to the new python3 package in base. That is described in detail in this issue. Despite the obsoletes resolution working as intended, yum is still hitting file conflicts, and I'm honestly not sure why. You can fix it by following the directions in this comment.
I am unable to update python36u due to a large number of transaction check errors - and it looks like my IUS Python 3.6 is being replaced with EPEL Python 3.6:
Please note that I have not requested to install the EPEL version of python36.
This "update/replacement" has shown up on its own.
I'm not sure if this is related to #8
Can I keep my IUS Python 3.6 and avoid this replacement?
I'm experiencing this on RH7 and CentOS7.
See below for additional CLI output.
=========
The cli output below is from an RH7 server - however I am running into this issue on both RedHat 7 and CentOS 7 servers.
note that this server is using the new ius-release per iusrepo/infrastructure#14
yum update shows Python packages that will be replaced:
Pressing "y" to continue, the update proceeds to the "Running transaction test" phase at which point I receive an error dump and the update terminates.
The first few lines of the transaction error dump:
There are probably hundreds of lines of
pip
related conflict errors.pip was installed from ius:
Conflicts with other files within
/usr/lib/python3.6/site-packages/
are noted such as:python3.6 IUS vs EPEL conflict:
hundres of conflicts noted from:
file /usr/lib64/python3.6
The text was updated successfully, but these errors were encountered: