Python36u-3.6.7-1.ius.centos7.x86_64 conflicts with file from package python3-3.6.8-13.el7.x86_64

(T Preissler) #1


since a few days I am having a problem when running a simple “yum update”. The error is below.
I tried a few things myself: “yum clean all”. Verified “yum repolist” and IUS is not activated actually.

What concerns me is that those IUS packages are actually provided by the sng-pkgs repo:

python36u x86_64 3.6.7-1.ius.centos7 sng-pkgs 57 k
python36u-libs x86_64 3.6.7-1.ius.centos7 sng-pkgs 8.9 M
python36u-setuptools noarch 39.0.1-1.ius.centos7 sng-pkgs 642 k

which doesn’t look right. EPEL and IUS are known to be conflicting, so why are IUS packages in sng sng-pkgs repo?

I can forcefully remove those 3 rpms and then run the upgrade, but it simply doesn’t feel right. I had similar issues some time back (just the other way round) and I managed to remove the IUS versions to go back to the regular packages. Surely the IUS packages in sng-pkgs are the cause of this problem.

Anyone any idea, anyone having found a solution for that?



PS: Output attachedyumupdate.tgz (12.0 KB)

(T Preissler) #2

I fixed the above by

  1. yum upgrade -y 2>&1 | grep conflicts | sed ‘s/.*with file from package \(.*\)/\1/’ | sort | uniq
  2. rpm -e --nodeps python3-3.6.8-13.el7.x86_64 python3-libs-3.6.8-13.el7.x86_64 python3-setuptools-39.2.0-10.el7.noarch # those packages from the first step
  3. yum update # ran just fine