安装R语言环境, 需要glibc-headers2.2.1版本以上。
centos7虚拟机更新系统库出现:
错误:软件包:glibc-headers-2.17-222.el7.x86_64 (base)
需要:kernel-headers
错误:软件包:glibc-headers-2.17-222.el7.x86_64 (base)
需要:kernel-headers >= 2.2.1
解决办法:
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
https://blog.51cto.com/u_5048284/3690680