RHEL Yum Dependency Failure

It's been awhile since I've posted anything here. I have been quite busy lately and other things seem to take precedence. I have upgraded my Asterisk install and would like to write a post about some of the changes I've made on that front. Although the real reason I'm writing this post is because of a problem I ran into at work with yum under RHEL.

While doing the latest batch up updates, I ran into a dependency problem with kernel-headers and glibc-headers. Here is what I got when I tried yum update.

--> Running transaction check
---> Package kernel-headers.i386 0:2.6.18-128.1.10.el5 set to be updated
---> Package kernel-devel.i686 0:2.6.18-128.1.10.el5 set to be installed
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
---> Package kernel.i686 0:2.6.18-128.1.10.el5 set to be installed
--> Finished Dependency Resolution
glibc-headers-2.5-34.i386 from installed has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-34.i386 (installed)
glibc-headers-2.5-34.i386 from installed has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-34.i386 (installed)
--> Running transaction check
---> Package kernel.i686 0:2.6.18-128.el5 set to be erased
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
---> Package kernel-devel.i686 0:2.6.18-128.el5 set to be erased
--> Finished Dependency Resolution
glibc-headers-2.5-34.i386 from installed has depsolving problems
  --> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-34.i386 (installed)
glibc-headers-2.5-34.i386 from installed has depsolving problems
  --> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-34.i386 (installed)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-34.i386 (installed)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-34.i386 (installed)

While googling parts of the error message, I came across a post on a Chinese website. The Google translator wasn't that helpful, but it seems that yum clean all will clear out all the local cached info and that fixes the problem.

Tags: , , ,

3 Responses to “RHEL Yum Dependency Failure”

  1. Stephen Says:

    Thanks for the tip. I found the same problem this morning when trying to update. The clean all command worked like a charm.

  2. Alex Says:

    Thanks a lot! Spent half an hour scouring the web trying to figure out why I was it would throw unresolved dependencies for packages that were already installed... your suggestion to use "yum clear all" cleared it all right up (pun intended).

  3. jb Says:

    Worked for me too, thanks for the tip.

Leave a Reply


css.php