[CentOS] Issues when updating CentOS 7

Mon Apr 8 10:58:43 UTC 2019
Stephen John Smoogen <smooge at gmail.com>

On Mon, 8 Apr 2019 at 04:12, Stelian Iancu <si at siancu.net> wrote:
>
> On Sat, Apr 6, 2019 at 1:03 AM Jyrki Tikka <jyrki.tikka at iki.fi> wrote:

...

> Hi,
>
> Many thanks for your answer. I did like you suggested and removed
> xapps. With it cinnamon got removed and a couple of other packages
> that I don't actually need (IT installed cinnamon for me and I don't
> use it).
>
> Afterwards in the yum update the resolution phase did succeed,
> however, afterwards, the transaction check gave a lot of errors, like
> this:
>
> Transaction check error:
>   file /usr/include/python3.6m/pyconfig-64.h from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64
>   file /usr/lib64/python3.6/_pyio.py from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64
>   file /usr/lib64/python3.6/antigravity.py from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64
>   file /usr/lib64/python3.6/logging/__init__.py from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64
>   file /usr/lib64/python3.6/test/support/__init__.py from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64
>   file /usr/lib64/python3.6/asyncio/base_events.py from install of
> python36-libs-3.6.6-5.el7.x86_64 conflicts with file from package
> python36u-libs-3.6.7-1.ius.centos7.x86_64

You have mixed repostories on the system and that is going to take a
lot of work to figure out what you are going to keep and what you
aren't. It looks like you have both EPEL and IUS and they have
different versions of python36 in them. You will probably need to
exclude on from the update or put in a lot of package excludes in the
configs to not look at one set. Here is an example

yum update --exclude="python36u*"

would then only look at the python from EPEL. vice versa

yum update --excluderepo=epel

would exclude EPEL while updating everything else.


>
> (and a lot more of these).
>
> Any idea how to solve this?
>
> Thanks and regards!
>
> S.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.