Linux - Yum Install GCC - Missing Kernel-headers

前端 未结 6 613
长发绾君心
长发绾君心 2021-01-31 08:23

When ever i try to install GCC on my linux (centos) It comes back with missing

glibc-headers-2.5-58.el5_6.4.x86_64 from updates has depsolving problems --

6条回答
  •  一生所求
    2021-01-31 09:21

    Yes, you could edit the yum.conf file, or you could simply do this:

    yum install kernel-headers --disableexcludes=all
    

    Do note that even if your admin is trying to install an excluded package from your RHN Satellite server via the normal process, it will still fail due to the local configuration.

    (This holds for RHEL6 / cent6 (centos6) as well, of course.)

提交回复
热议问题