Why client facing dependency issue when performing update from RHN Satellite?

Solution Verified - Updated -

Environment

  • RHN Satellite 5.x
  • RHN Proxy 5.x
  • Red Hat Enterprise Linux 6.x

Issue

  • While updating client system from RHN Satellite via RHN Proxy server, it fails.

    [...]
    --> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
    ---> Package python-simplejson.x86_64 0:2.0.9-8.el5 will be an update
    --> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.x86_64
    ---> Package shared-mime-info.x86_64 0:0.70-4.el6 will be installed
    ---> Package snappy.x86_64 0:1.1.0-1.el6 will be installed
    --> Finished Dependency Resolution
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    

Resolution

  • Remove incorrect packages from channel. Rebuilt the channel with the correct packages.
  • Exclude '.el5' packages.

    # yum --exclude=*.el5* update
    

Root Cause

  • Found there were a number of incorrect packages in the custom channel to which client system was subscribed.

Diagnostic Steps

  • Found following python packages installed on client system.

    python-2.6.6-36.el6.x86_64                                  Tue 08 Oct 2013 10:19:16 BST
    python-dateutil-1.4.1-6.el6.noarch                          Tue 08 Oct 2013 10:20:14 BST
    python-dmidecode-3.10.13-1.el6.x86_64                       Tue 08 Oct 2013 10:00:17 BST
    python-ethtool-0.6-3.el6.x86_64                             Tue 08 Oct 2013 10:19:28 BST
    python-gudev-147.1-4.el6_0.1.x86_64                         Tue 08 Oct 2013 10:00:25 BST
    python-iniparse-0.3.1-2.1.el6.noarch                        Tue 08 Oct 2013 10:00:15 BST
    python-iwlib-0.1-1.2.el6.x86_64                             Tue 08 Oct 2013 10:00:48 BST
    python-libs-2.6.6-36.el6.x86_64                             Tue 08 Oct 2013 10:19:13 BST
    python-nose-0.10.4-3.1.el6.noarch                           Tue 08 Oct 2013 10:05:36 BST
    python-pycurl-7.19.0-8.el6.x86_64                           Tue 08 Oct 2013 10:00:24 BST
    python-rhsm-1.1.8-1.el6.x86_64                              Tue 08 Oct 2013 10:19:39 BST
    python-setuptools-0.6.10-3.el6.noarch                       Tue 08 Oct 2013 10:05:35 BST
    python-simplejson-2.0.9-3.1.el6.x86_64                      Tue 08 Oct 2013 10:00:17 BST
    python-urlgrabber-3.9.1-8.el6.noarch                        Tue 08 Oct 2013 10:00:24 BST
    rpm-python-4.8.0-32.el6.x86_64                              Tue 08 Oct 2013 10:19:37 BST
    
  • As per the yum update output, it seems packages of .el5 are listed as available update.

    [...]
    ---> Package iwl4965-firmware.noarch 0:228.61.2.24-2.1.el6 will be updated
    ---> Package iwl4965-firmware.noarch 1:228.61.2.24-1.el5 will be an update
    --
    ---> Package libcollection.x86_64 0:0.6.0-9.el6 will be updated
    ---> Package libcollection.x86_64 0:0.6.0-10.el5 will be an update
    --
    ---> Package libdhash.x86_64 0:0.4.2-9.el6 will be updated
    ---> Package libdhash.x86_64 0:0.4.2-10.el5 will be an update
    --
    ---> Package libini_config.x86_64 0:0.6.1-9.el6 will be updated
    ---> Package libini_config.x86_64 0:0.6.1-10.el5 will be an update
    --
    ---> Package libpath_utils.x86_64 0:0.2.1-9.el6 will be updated
    ---> Package libpath_utils.x86_64 0:0.2.1-10.el5 will be an update
    --
    ---> Package libref_array.x86_64 0:0.1.1-9.el6 will be updated
    ---> Package libref_array.x86_64 0:0.1.1-10.el5 will be an update
    --
    ---> Package microcode_ctl.x86_64 1:1.17-14.el6 will be updated
    ---> Package microcode_ctl.x86_64 2:1.17-1.56.el5 will be an update
    --
    ---> Package python-nose.noarch 0:0.10.4-3.1.el6 will be updated
    ---> Package python-nose.noarch 0:0.11.3-2.el5 will be an update
    --> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
    --
    ---> Package python-simplejson.x86_64 0:2.0.9-3.1.el6 will be updated
    ---> Package python-simplejson.x86_64 0:2.0.9-8.el5 will be an update
    --> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.x86_64
    --
    ---> Package virt-what.x86_64 0:1.11-1.2.el6 will be updated
    ---> Package virt-what.x86_64 0:1.11-2.el5 will be an update
    --
    ---> Package p11-kit-trust.x86_64 0:0.18.5-2.el6 will be installed
    ---> Package python-nose.noarch 0:0.11.3-2.el5 will be an update
    --> Processing Dependency: python(abi) = 2.4 for package: python-nose-0.11.3-2.el5.noarch
    ---> Package python-simplejson.x86_64 0:2.0.9-8.el5 will be an update
    --> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.x86_64
    
  • It seems that the system is subscribed to custom/clone channel with .el5 packages.

  • Unsubscribe it from the channel containing these packages and then try or try below command.

    # yum --exclude=*.el5* update
    
  • If the system is subscibed to custom base channel then make sure that channel have latest Red Hat Enterprise Linux
    6 packages in it.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments