现在的位置: 首页linux>正文
rss
centos 5.7 missing dependency :kernel-header
2012年10月08日 linux 评论关闭 ⁄ 被围观 5,817 次+

centos 5.7 yum时出现missing dependency :kernel-header 的解决方法,在此记下

错误信息如下:

  1. glibc-headers-2.5-81.el5_8.2.x86_64fromupdateshasdepsolvingproblems
  2. -->missingdependency:kernel-headers>=2.2.1isneededbypackageglibc-headers-2.5-81.el5_8.2.x86_64(updates)
  3. glibc-headers-2.5-81.el5_8.2.x86_64fromupdateshasdepsolvingproblems
  4. -->missingdependency:kernel-headersisneededbypackageglibc-headers-2.5-81.el5_8.2.x86_64(updates)
  5. error:missingdependency:kernel-headersisneededbypackageglibc-headers-2.5-81.el5_8.2.x86_64(updates)
  6. error:missingdependency:kernel-headers>=2.2.1isneededbypackageglibc-headers-2.5-81.el5_8.2.x86_64(updates)
  7. youcouldtryusing--skip-brokentoworkaroundtheproblem
  8. youcouldtryrunning:package-cleanup--problems
  9. package-cleanup--dupes
  10. rpm-va--nofiles--nodigest

安装kernel-headers即可解决问题,如下

  1. wgethttp://vault.centos.org/5.7/os/x86_64/centos/kernel-headers-2.6.18-274.el5.x86_64.rpm
  2. rpm-ivhkernel-headers-2.6.18-274.el5.x86_64.rpm
本文地址:/00/1205.html
如非注明则为本站原创文章,欢迎转载。转载请注明转载自:moon's blog
 

抱歉!评论已关闭.