centos6.2 yum install报错kernel-2.6.32-220.13.1.el6.x86_64 has missing requires...

centos6.2上执行yum install gcc报错:
kernel-2.6.32-220.13.1.el6.x86_64 has missing requires of kernel-firmware >= ('0
', '2.6.32', '220.13.1.el6')

解决方法:
# vi /etc/yum.conf 注释此项即可“#exclude=kernel*”
此参数的意思是排除安装或更新kernel开头的软件,而我们安装开发工具包需要依赖kernel相关的软件。
然后继续安装:
# yum  clean all
# yum install gcc

你可能感兴趣的:(centos,报错,gcc,yum install)