Error: Package: glibc-headers-2.12-1.80.el6_3.6.x86_64 (updates)
2013-04-02 17:07 胡炯 阅读(746) 评论(0) 编辑 收藏 举报centos安装GCC出现下面错误:
Error: Package: glibc-headers-2.12-1.80.el6_3.6.x86_64 (updates)
Requires: kernel-headers >= 2.2.1
Error: Package: glibc-headers-2.12-1.80.el6_3.6.x86_64 (updates)
Requires: kernel-headers
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
kernel-2.6.32-220.13.1.el6.x86_64 has missing requires of kernel-firmware >= ('0', '2.6.32', '220.13.1.el6')
解决办法:
打开yum配置文件
vim /etc/yum.conf
找到
exclude=kernel*
改成
# exclude=kernel*
保存即可