Issues When Updating CentOS 7

Home » CentOS » Issues When Updating CentOS 7
CentOS 4 Comments

Hi all,

I wanted to update my CentOS 7 install this morning and I started getting the errors from below.

Any ideas on a fix?

They seem to be related to cinnamon which I actually don’t use at all
(the machine was prepared by our IT at work and they install both Gnome and Cinnamon by default).

Since I don’t use it, I guess an option would be to remove it altogether and then I will probably not have the update issues anymore. But I would still try to find a proper way to solve this

Thanks in advance!

Here is the output from yum update:

Resolving Dependencies
–> Running transaction check
—> Package cinnamon-menus.x86_64 0:3.6.0-3.el7 will be updated
—> Package cinnamon-menus.x86_64 0:3.6.0-4.el7 will be an update
—> Package cinnamon-screensaver.x86_64 0:3.6.1-3.el7 will be updated
—> Package cinnamon-screensaver.x86_64 0:3.6.1-4.el7 will be an update
–> Processing Dependency: python36-gobject(x86-64) for package:
cinnamon-screensaver-3.6.1-4.el7.x86_64
–> Processing Dependency: python36-setproctitle(x86-64) for package:
cinnamon-screensaver-3.6.1-4.el7.x86_64
–> Processing Dependency: python36-xapp for package:
cinnamon-screensaver-3.6.1-4.el7.x86_64
–> Processing Dependency: python36-xapps-overrides(x86-64) for package: cinnamon-screensaver-3.6.1-4.el7.x86_64
—> Package code.x86_64 0:1.32.3-1552607091.el7 will be updated
—> Package code.x86_64 0:1.33.0-1554390950.el7 will be an update
—> Package freerdp.x86_64 0:1.0.2-15.el7 will be updated
—> Package freerdp.x86_64 0:1.0.2-15.el7_6.1 will be an update
—> Package freerdp-libs.x86_64 0:1.0.2-15.el7 will be updated
—> Package freerdp-libs.x86_64 0:1.0.2-15.el7_6.1 will be an update
—> Package freerdp-plugins.x86_64 0:1.0.2-15.el7 will be updated
—> Package freerdp-plugins.x86_64 0:1.0.2-15.el7_6.1 will be an update
—> Package google-chrome-stable.x86_64 0:73.0.3683.86-1 will be updated
—> Package google-chrome-stable.x86_64 0:73.0.3683.103-1 will be an update
—> Package mint-y-theme.noarch 0:1.2.4-1.el7 will be updated
—> Package mint-y-theme.noarch 0:1.2.4-2.el7 will be an update
—> Package python2-crypto.x86_64 0:2.6.1-15.el7 will be updated
—> Package python2-crypto.x86_64 0:2.6.1-16.el7 will be an update
—> Package python2-pyxdg.noarch 0:0.25-6.el7 will be updated
—> Package python2-pyxdg.noarch 0:0.25-7.el7 will be an update
—> Package python2-xapps-overrides.x86_64 0:1.0.4-13.el7 will be updated
—> Package python2-xapps-overrides.x86_64 0:1.0.4-14.el7 will be an update
—> Package python34.x86_64 0:3.4.9-2.el7 will be obsoleted
–> Processing Dependency: python(abi) = 3.4 for package:
python34-gobject-base-3.22.0-4.el7.x86_64
–> Processing Dependency: python(abi) = 3.4 for package:
python34-gobject-3.22.0-4.el7.x86_64
–> Processing Dependency: python(abi) = 3.4 for package:
python34-xapp-1.0.1-8.el7.noarch
–> Processing Dependency: python(abi) = 3.4 for package:
python34-xapps-overrides-1.0.4-13.el7.x86_64
–> Processing Dependency: python(abi) = 3.4 for package:
python34-setproctitle-1.1.6-2.el7.x86_64
–> Processing Dependency: python(abi) = 3.4 for package:
python34-psutil-2.2.1-5.el7.x86_64
–> Processing Dependency: python(abi) = 3.4 for package:
python34-cairo-1.10.0-24.el7.x86_64
—> Package python34-libs.x86_64 0:3.4.9-2.el7 will be obsoleted
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package:
python34-3.4.9-3.el7.x86_64
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package:
python34-setproctitle-1.1.6-2.el7.x86_64
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package:
python34-cairo-1.10.0-24.el7.x86_64
–> Processing Dependency: libpython3.4m.so.1.0()(64bit) for package:
python34-psutil-2.2.1-5.el7.x86_64
—> Package python34-psutil.x86_64 0:2.2.1-4.el7 will be updated
—> Package python34-psutil.x86_64 0:2.2.1-5.el7 will be an update
—> Package python36.x86_64 0:3.6.6-5.el7 will be obsoleting
—> Package python36-libs.x86_64 0:3.6.6-5.el7 will be obsoleting
—> Package xapps.x86_64 0:1.0.4-13.el7 will be updated
–> Processing Dependency: xapps(x86-64) = 1.0.4-13.el7 for package:
python34-xapps-overrides-1.0.4-13.el7.x86_64
—> Package xapps.x86_64 0:1.0.4-14.el7 will be an update
–> Running transaction check
—> Package python34.x86_64 0:3.4.9-2.el7 will be updated
—> Package python34.x86_64 0:3.4.9-3.el7 will be an update
—> Package python34-libs.x86_64 0:3.4.9-2.el7 will be updated
—> Package python34-libs.x86_64 0:3.4.9-3.el7 will be an update
—> Package python36-gobject.x86_64 0:3.22.0-6.el7 will be installed
–> Processing Dependency: python36-gobject-base(x86-64) 3.22.0-6.el7 for package: python36-gobject-3.22.0-6.el7.x86_64
–> Processing Dependency: python36-cairo(x86-64) for package:
python36-gobject-3.22.0-6.el7.x86_64
—> Package python36-setproctitle.x86_64 0:1.1.6-3.el7 will be installed
—> Package python36-xapp.noarch 0:1.0.1-9.el7 will be installed
–> Processing Dependency: python36-psutil for package:
python36-xapp-1.0.1-9.el7.noarch
—> Package python36-xapps-overrides.x86_64 0:1.0.4-14.el7 will be installed
—> Package xapps.x86_64 0:1.0.4-13.el7 will be updated
–> Processing Dependency: xapps(x86-64) = 1.0.4-13.el7 for package:
python34-xapps-overrides-1.0.4-13.el7.x86_64
–> Running transaction check
—> Package python36-cairo.x86_64 0:1.10.0-25.el7 will be installed
—> Package python36-gobject-base.x86_64 0:3.22.0-6.el7 will be installed
—> Package python36-psutil.x86_64 0:2.2.1-5.el7 will be installed
—> Package xapps.x86_64 0:1.0.4-13.el7 will be updated
–> Processing Dependency: xapps(x86-64) = 1.0.4-13.el7 for package:
python34-xapps-overrides-1.0.4-13.el7.x86_64
–> Finished Dependency Resolution 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

4 thoughts on - Issues When Updating CentOS 7

  • Many python3 packages in EPEL were just rebased from python34 to python36, so it’s possible that there’s still some version skew going on that is breaking some other python3 modules that are still based on python34. Try with –skip-broken for now, and if it still has problems, file a bug against xapps.

    More details here:

    https://lists.fedoraproject.org/archives/list/epel-announce@lists.fedoraproject.org/thread/EGUMKAIMPK2UD5VSHXM53BH2MBDGDWMO/

  • started>getting the errors from below. Certainly!

    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.

  • 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.