按照阿里云盾提供的漏洞修复方案操作的,执行结果如下(因发文未满5篇,不让发带有网址的文本,所以把下面所有网址带http的改成了htp以通过审核关)
# yum update kernel-devel
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirrors.aliyuncs.com
* base: mirrors.aliyuncs.com
* extras: mirrors.aliyuncs.com
* updates: mirrors.aliyuncs.com
htp://mirrors.aliyuncs.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
htp://mirrors.aliyuncscs.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
htp://mirrors.aliyuncs.com/centos/5/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
htp://mirrors.aliyuncscs.com/centos/5/os/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
htp://mirrors.aliyuncs.com/centos/5/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
htp://mirrors.aliyuncscs.com/centos/5/extras/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
nginx | 2.5 kB 00:00
htp://mirrors.aliyuncs.com/centos/5/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
htp://mirrors.aliyuncscs.com/centos/5/updates/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.18-416.el5 set to be installed
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel-devel.x86_64 0:2.6.18-400.1.1.el5 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================================================================
Installing:
kernel-devel x86_64 2.6.18-416.el5 updates 5.9 M
Removing:
kernel-devel x86_64 2.6.18-400.1.1.el5 installed 16 M
Transaction Summary
=======================================================================================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Total download size: 5.9 M
Is this ok [y/N]: y
Downloading Packages:
htp://mirrors.aliyuncs.com/centos/5/updates/x86_64/RPMS/kernel-devel-2.6.18-416.el5.x86_64.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
htp://mirrors.aliyuncscs.com/centos/5/updates/x86_64/RPMS/kernel-devel-2.6.18-416.el5.x86_64.rpm: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')>
Trying other mirror.
Error Downloading Packages:
kernel-devel-2.6.18-416.el5.x86_64: failure: RPMS/kernel-devel-2.6.18-416.el5.x86_64.rpm from updates: [Errno 256] No more mirrors to try.
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。