[CentOS] Issues when updating CentOS 7

Mon Apr 8 08:12:12 UTC 2019
Stelian Iancu <si at siancu.net>

On Sat, Apr 6, 2019 at 1:03 AM Jyrki Tikka <jyrki.tikka at iki.fi> wrote:
>
> >I wanted to update my CentOS 7 install this morning and I
> started>getting the errors from below.
> >Any ideas on a fix?
> Certainly!
> >Error: Package: python34-xapps-overrides-1.0.4-13.el7.x86_64 (@epel)
> >           Requires: xapps(x86-64) = 1.0.4-13.el7
> >           Removing: xapps-1.0.4-13.el7.x86_64 (@epel)
> >               xapps(x86-64) = 1.0.4-13.el7
> >           Updated By: xapps-1.0.4-14.el7.x86_64 (epel)
> >               xapps(x86-64) = 1.0.4-14.el7
> > You could try using --skip-broken to work around the problem
> > You could try running: rpm -Va --nofiles --nodigest
>
> The package python34-xapps-overrides-1.0.4-13.el7.x86_64 has been
> replacedby python36-xapps-overrides-1.0.4-14.el7.x86_64 and yum can't
> handle it.Sometimes the problem will be solved within reasonable time
> but sometimes it'sjust simpler to remove and reinstall some offending
> package.
> Just remove xapps (yum remove xapps) and note which packages are
> removed with it.On my systems these packages were removed:
> Packages Altered:    Erase python2-xapps-overrides-1.0.4-
> 13.el7.x86_64  @epel    Erase python34-xapps-overrides-1.0.4-
> 13.el7.x86_64 @epel    Erase xapps-1.0.4-
> 13.el7.x86_64                    @epel    Erase xed-1.6.2-
> 3.el7.x86_64                       @epel
> Then reinstall xapps, xed, python2-xapps-overrides andinstall python36-
> xapps-overrides like so:
> Packages Altered:    Install python2-xapps-overrides-1.0.4-
> 14.el7.x86_64  @epel    Install python36-xapps-overrides-1.0.4-
> 14.el7.x86_64 @epel    Install xapps-1.0.4-
> 14.el7.x86_64                    @epel    Install xed-1.6.2-
> 3.el7.x86_64                       @epel
> <(*) Jyrki

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

(and a lot more of these).

Any idea how to solve this?

Thanks and regards!

S.