JAVA、PHP、前端、APP、网站开发 - 开发技术学习

开发技术学习 » 服务器 » centos kernel-headers提示错误解决方法

centos kernel-headers提示错误解决方法

此文被围观3082 日期: 2012-11-06 分类 : 服务器  标签:  ·····
今天在安装7zip的时候出现的错误: glibc-headers-2.5-81.el5_8.2.x86_64 from updates has depsolving problems
--> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.2.x86_64 (updates)
glibc-headers-2.5-81.el5_8.2.x86_64 from updates has depsolving problems
--> Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.2.x86_64 (updates)
Error: Missing Dependency: kernel-headers is needed by package glibc-headers-2.5-81.el5_8.2.x86_64 (updates)
Error: Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.2.x86_64 (updates)
        You could try using --skip-broken to work around the problem
        You could try running: package-cleanup --problems
        package-cleanup --dupes
        rpm -Va --nofiles --nodigest
安装kernel-headers即可解决问题
wget http://vault.centos.org/5.7/os/x86_64/CentOS/kernel-headers-2.6.18-274.el5.x86_64.rpm rpm -ivh kernel-headers-2.6.18-274.el5.x86_64.rpm 以上方法解决错误。

站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。 蜀ICP备12031064号      川公网安备51162302000234