yum update on Satellite client fails with "Not found" dependency resolution errors
Issue
-
Yum is unable to find in the repodata the information regarding the provide section of some packages (or other parts).
-
Running 'yum update' to install newer packages fails with some packages displaying 'Not found' for dependencies, for example:
# yum update
...
Error: Package: coreutils-8.4-19.el6.x86_64 (rhel-x86_64-server-6)
Requires: libgmp.so.3()(64bit)
Removing: gmp-4.3.1-7.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)
libgmp.so.3()(64bit)
Updated By: gmp-4.3.1-7.el6_2.2.x86_64 (rhel-x86_64-server-6)
Not found
Error: Package: gnupg2-2.0.14-4.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)
Requires: libcurl.so.4()(64bit)
Removing: libcurl-7.19.7-26.el6.x86_64 (@anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)
libcurl.so.4()(64bit)
Updated By: libcurl-7.19.7-26.el6_2.4.x86_64 (rhel-x86_64-server-6)
Not found
Available: libcurl-7.19.7-16.el6.x86_64 (rhel-x86_64-server-6)
libcurl.so.4()(64bit)
Available: libcurl-7.19.7-26.el6_1.1.x86_64 (rhel-x86_64-server-6)
libcurl.so.4()(64bit)
Available: libcurl-7.19.7-26.el6_1.2.x86_64 (rhel-x86_64-server-6)
libcurl.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
- Looking at the repodata for libcurl-7.19.7-26.el6_2.4.x86_64.rpm (showing up as 'Not found' in the above output) shows it has an empty '
(and other rpm repodata sections):'
[root@satellite ~]# zgrep libcurl-7.19.7-26.el6_2.4.x86_64.rpm /var/cache/rhn/repodata/rhel-x86_64-server-6/primary.xml.gz | sed 's|/>|/>\n|g'
</description><packager/>
<url/>
<time file="1332361500" build="1332361500"/>
<size package="167000" archive="340616" installed=""/>
<location href="getPackage/libcurl-7.19.7-26.el6_2.4.x86_64.rpm"/>
<format><rpm:license>MIT</rpm:license><rpm:vendor>Red Hat, Inc.</rpm:vendor><rpm:group>Development/Libraries </rpm:group><rpm:buildhost>x86-003.build.bos.redhat.com</rpm:buildhost><rpm:sourcerpm>curl-7.19.7-26.el6_2.4.src.rpm</rpm:sourcerpm><rpm:header-range start="1384" end="25568"/>
<rpm:provides/>
<rpm:requires/>
<rpm:conflicts/>
<rpm:obsoletes/>
</format></package><package type="rpm"><name>libssh2</name><arch>x86_64</arch><version ver="1.2.2" rel="7.el6_2.3" epoch="0"/>
<checksum type="sha256" pkgid="YES">2a55b86f806e62bf9e934ce26260e2268bb4d0157ca42ec3bdff76e63bc8a845</checksum><summary>A library implementing the SSH2 protocol
Environment
- Red Hat Satellite
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.