yum update missing dependencies on RHEL5

I was getting the following dependency errors on a Red Hat Enterprise Linux 5 box. This was a stock box that has a RHEL subscription and had not used any yum repositories other than Red Hat's own official repositories.

# yum update
Loaded plugins: rhnplugin, security
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package libsoup.i386 0:2.2.98-2.el5_3.1 set to be updated
---> Package ghostscript.i386 0:8.15.2-9.4.el5_3.4 set to be updated
---> Package evolution-data-server.i386 0:1.12.3-10.el5_3.3 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_3.2 set to be updated
--> Processing Dependency: libebook-1.2.so.9 for package: gnome-panel
--> Processing Dependency: libebook-1.2.so.9 for package: control-center
--> Processing Dependency: libecal-1.2.so.7 for package: gnome-panel
--> Processing Dependency: libedataserver-1.2.so.7 for package: gnome-panel
--> Processing Dependency: libedataserver-1.2.so.7 for package: control-center
--> Processing Dependency: libedataserverui-1.2.so.8 for package: gnome-panel
--> Processing Dependency: evolution-data-server >= 1.1.4 for package: gnome-panel
---> Package device-mapper-multipath.i386 0:0.4.7-23.el5_3.1 set to be updated
---> Package lcms.i386 0:1.18-0.1.beta1.el5_3.2 set to be updated
---> Package kpartx.i386 0:0.4.7-23.el5_3.1 set to be updated
--> Processing Dependency: libgs.so.8 for package: ImageMagick
--> Processing Dependency: ghostscript for package: libgnomeprint22
--> Processing Dependency: ghostscript for package: ghostscript-fonts
---> Package firefox.i386 0:3.0.7-1.el5 set to be updated
---> Package xulrunner.i386 0:1.9.0.7-1.el5 set to be updated
---> Package curl.i386 0:7.15.5-2.1.el5_3.4 set to be updated
--> Finished Dependency Resolution
libgnomeprint22-2.12.1-10.el5.i386 from installed has depsolving problems
  --> Missing Dependency: ghostscript is needed by package libgnomeprint22-2.12.1-10.el5.i386 (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libecal-1.2.so.7 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
1:control-center-2.16.0-16.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libedataserver-1.2.so.7 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libedataserver-1.2.so.7 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libebook-1.2.so.9 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libedataserverui-1.2.so.8 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
ghostscript-fonts-5.50-13.1.1.noarch from installed has depsolving problems
  --> Missing Dependency: ghostscript is needed by package ghostscript-fonts-5.50-13.1.1.noarch (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: evolution-data-server >= 1.1.4 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
ImageMagick-6.2.8.0-4.el5_1.1.i386 from installed has depsolving problems
  --> Missing Dependency: libgs.so.8 is needed by package ImageMagick-6.2.8.0-4.el5_1.1.i386 (installed)
1:control-center-2.16.0-16.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libebook-1.2.so.9 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
Error: Missing Dependency: libecal-1.2.so.7 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
Error: Missing Dependency: ghostscript is needed by package ghostscript-fonts-5.50-13.1.1.noarch (installed)
Error: Missing Dependency: ghostscript is needed by package libgnomeprint22-2.12.1-10.el5.i386 (installed)
Error: Missing Dependency: libebook-1.2.so.9 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
Error: Missing Dependency: libgs.so.8 is needed by package ImageMagick-6.2.8.0-4.el5_1.1.i386 (installed)
Error: Missing Dependency: libebook-1.2.so.9 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
Error: Missing Dependency: libedataserver-1.2.so.7 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
Error: Missing Dependency: libedataserverui-1.2.so.8 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
Error: Missing Dependency: evolution-data-server >= 1.1.4 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
Error: Missing Dependency: libedataserver-1.2.so.7 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)

The solution was to clean out yum's local caches with:

yum clean all

and then

yum update

I suspect that yum clean headers alone might have done the trick, but I was too quick on the trigger with yum clean all.

Update: Anonymous says that yum clean dbcache works.

Topic: 

Comments

Thanks.

Thanks a bundle, that solved my similar issue.

Dennis in Phoenix, AZ

I tried yum clean headers and that did not work but yum clean all did.
Remember overkill is just being sure.

This has bugged me a little bit the last few days. I thought it was a mistake by RH packaging but decided to google it today.

Your solution worked fine, thanks!

Had the same issue. yum clean dbcache seems to do the trick on my RHEL5 Server boxen...

Thanks! Problem solved

I had the same problem, tnx for the solution

Problem solved with this thank you very much.

I've just had a similar issue and yum clean dbcache worked fine:


# yum update
Loaded plugins: rhnplugin, security
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
--> Processing Dependency: device-mapper-multipath >= 0.4.7-9 for package: mkinitrd
---> Package device-mapper-multipath.i386 0:0.4.7-23.el5_3.2 set to be updated
---> Package kpartx.i386 0:0.4.7-23.el5_3.2 set to be updated
---> Package krb5-workstation.i386 0:1.6.1-31.el5_3.3 set to be updated
--> Processing Dependency: kpartx >= 0.4.7-9 for package: mkinitrd
--> Processing Dependency: kpartx for package: dmraid
---> Package krb5-libs.i386 0:1.6.1-31.el5_3.3 set to be updated
--> Finished Dependency Resolution
dmraid-1.0.0.rc13-33.el5.i386 from installed has depsolving problems
--> Missing Dependency: kpartx is needed by package dmraid-1.0.0.rc13-33.el5.i386 (installed)
mkinitrd-5.1.19.6-44.i386 from installed has depsolving problems
--> Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-44.i386 (installed)
mkinitrd-5.1.19.6-44.i386 from installed has depsolving problems
--> Missing Dependency: kpartx >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-44.i386 (installed)
Error: Missing Dependency: device-mapper-multipath >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-44.i386 (installed)
Error: Missing Dependency: kpartx >= 0.4.7-9 is needed by package mkinitrd-5.1.19.6-44.i386 (installed)
Error: Missing Dependency: kpartx is needed by package dmraid-1.0.0.rc13-33.el5.i386 (installed)

# yum clean dbcache
Loaded plugins: rhnplugin, security
2 sqlite files removed

# yum update
Loaded plugins: rhnplugin, security
rhel-i386-server-5 5236/5236
dag 8481/8481
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package krb5-workstation.i386 0:1.6.1-31.el5_3.3 set to be updated
---> Package kpartx.i386 0:0.4.7-23.el5_3.2 set to be updated
---> Package krb5-libs.i386 0:1.6.1-31.el5_3.3 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-23.el5_3.2 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

I had a similar issue and this did the trick. Thanks a million for posting this!!

I had the same issue and well you helped me fix it quickly :-D

best regards

I have the same issue but cannot solve it. here's what I tried:

# yum clean all
Loading "security" plugin
Loading "rhnplugin" plugin
Cleaning up Everything

# yum clean dbcache
Loading "security" plugin
Loading "rhnplugin" plugin
0 sqlite files removed

# yum update
Loading "security" plugin
Loading "rhnplugin" plugin
rhel-i386-client-5 100% |=========================| 1.3 kB 00:00
primary.xml.gz 100% |=========================| 1.8 MB 00:44
rhel-i386-: ################################################## 4562/4562
Skipping security plugin, no data
Setting up Update Process
Resolving Dependencies
Skipping security plugin, no data
--> Running transaction check
---> Package NetworkManager-gnome.i386 1:0.7.0-4.el5_3 set to be updated
...
...
[a lot of packages are set to be updated]
...
...
--> Finished Dependency Resolution
Error: Missing Dependency: elfutils-libelf = 0.125-3.el5 is needed by package elfutils
Error: Missing Dependency: sabayon-apply = 2.12.4-5.el5 is needed by package sabayon
Error: Missing Dependency: freetype = 2.2.1-20.el5_2 is needed by package freetype-devel
Error: Missing Dependency: tomcat5-servlet-2.4-api = 5.5.23-0jpp.7.el5_2.1 is needed by package tomcat5-jasper
Error: Missing Dependency: glib2 = 2.12.3-2.fc6 is needed by package glib2-devel
Error: Missing Dependency: mesa-libGLU = 6.5.1-7.5.el5 is needed by package mesa-libGLU-devel
Error: Missing Dependency: alsa-lib = 1.0.14 is needed by package alsa-lib-devel
Error: Missing Dependency: e2fsprogs-libs = 1.39-15.el5 is needed by package e2fsprogs-devel
Error: Missing Dependency: netpbm = 10.35-6.fc6 is needed by package netpbm-devel
Error: Missing Dependency: scim-libs = 1.4.4-39.el5 is needed by package scim-devel
Error: Missing Dependency: tomcat5-servlet-2.4-api = 5.5.23-0jpp.7.el5_2.1 is needed by package tomcat5-common-lib
Error: Missing Dependency: python = 2.4.3-21.el5 is needed by package python-devel
Error: Missing Dependency: elfutils-libs = 0.125-3.el5 is needed by package elfutils
Error: Missing Dependency: rpm = 4.4.2-48.el5 is needed by package rpm-build
Error: Missing Dependency: libpng = 2:1.2.10-7.1.el5_0.1 is needed by package libpng-devel
Error: Missing Dependency: libtiff = 3.8.2-7.el5_2.2 is needed by package libtiff-devel
Error: Missing Dependency: tomcat5-jsp-2.0-api = 5.5.23-0jpp.7.el5_2.1 is needed by package tomcat5-common-lib
Error: Missing Dependency: libselinux = 1.33.4-5.el5 is needed by package libselinux-devel
Error: Missing Dependency: mesa-libGL = 6.5.1-7.5.el5 is needed by package mesa-libGL-devel
Error: Missing Dependency: krb5-libs = 1.6.1-25.el5_2.1 is needed by package krb5-devel

OK, now I check if these missing dependencies are real (e.g. I know I have rpm 4.4.2, so its strange, thaht it gives me missing dependency for it):

# yum install rpm
Loading "security" plugin
Loading "rhnplugin" plugin
rhel-i386-client-5 100% |=========================| 1.3 kB 00:00
Setting up Install Process
Parsing package install arguments
Package rpm - 4.4.2-48.el5.i386 is already installed.
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: rpm = 4.4.2-48.el5 for package: rpm-build
--> Processing Dependency: rpm = 4.4.2-48.el5 for package: rpm-libs
--> Processing Dependency: rpm = 4.4.2-48.el5 for package: rpm-python
---> Package rpm.i386 0:4.4.2.3-9.el5 set to be updated
--> Processing Dependency: popt = 1.10.2.3-9.el5 for package: rpm
--> Running transaction check
---> Package popt.i386 0:1.10.2.3-9.el5 set to be updated
---> Package rpm-libs.i386 0:4.4.2.3-9.el5 set to be updated
--> Processing Dependency: rpm = 4.4.2-48.el5 for package: rpm-build
---> Package rpm-python.i386 0:4.4.2.3-9.el5 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: rpm = 4.4.2-48.el5 is needed by package rpm-build

so how do these two lines ocme together?

Package rpm - 4.4.2-48.el5.i386 is already installed.
Error: Missing Dependency: rpm = 4.4.2-48.el5 is needed by package rpm-build

I have redhat 2.6.18-92.1.22.el5 i386

thanks for help

You probably have to check your repos.
Your repo conf might be pointing to an old incompartible repository.

yum update --skip-broken

--skip-broken worked for me but I guess I am only masking the problem rather than resolving it.

I agree with you!

I have the same problem. However, I did yum clean all, etc, but still get the errors. Could someone take a look?

[root@localhost yum.repos.d]# yum update
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
Setting up Update Process
Setting up repositories
rhel-i386-client-5 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files

... :OTS OF DOWNLOADING...

--> Running transaction check
Error: Missing Dependency: dbus = 1.0.0-6.el5 is needed by package dbus-devel
Error: Missing Dependency: gd = 2.0.33-9.3.fc6 is needed by package gd-devel
Error: Missing Dependency: gnome-vfs2 = 2.16.2-4.el5 is needed by package gnome-vfs2-devel
Error: Missing Dependency: pygtk2-codegen = 2.10.1-8.el5 is needed by package pygtk2-devel
Error: Missing Dependency: libXt = 1.0.2-3.1.fc6 is needed by package libXt-devel
Error: Missing Dependency: libexchange-storage-1.2.so.2 is needed by package evolution-data-server-develError: Unable to satisfy dependencies

AND ....

Error: Package dbus-devel needs dbus = 1.0.0-6.el5, this is not available.
Error: Package curl-devel needs curl = 7.15.5-2.el5, this is not available.
Error: Package mesa-libGLU-devel needs mesa-libGLU = 6.5.1-7.2.el5, this is not available.
Error: Package evolution-data-server-devel needs libexchange-storage-1.2.so.2, this is not available.
Error: Package openssl-devel needs openssl = 0.9.8b-8.3.el5, this is not available.

I just had a similar problem and "yum clean all" wasn't fixing it... turned out that I was on the ragged edge of 100% disk space usage on the volume with /var . Cleaned it up and it worked.

I have the same problem and yum clean all is not fixing. The /var is only 25%. Any tips?
Thanks.