错误信息:
Error Downloading Packages:
30:bind-libs-9.3.6-4.P1.el5.i386: failure: bind-libs-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
30:bind-utils-9.3.6-4.P1.el5.i386: failure: bind-utils-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
30:bind-9.3.6-4.P1.el5.i386: failure: bind-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
30:bind-libs-9.3.6-4.P1.el5.i386: failure: bind-libs-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
30:bind-utils-9.3.6-4.P1.el5.i386: failure: bind-utils-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
30:bind-9.3.6-4.P1.el5.i386: failure: bind-9.3.6-4.P1.el5.i386.rpm from update: [Errno 256] No more mirrors to try.
输入下面的命令即可解决问题:
- yum clean all
- yum makecache
[root@rac2 ~]# yum clean all
Loaded plugins: rhnplugin, security
Cleaning up Everything
Loaded plugins: rhnplugin, security
Cleaning up Everything
[root@rac2 ~]# yum install bind
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
update | 1.3 kB 00:00
primary.xml.gz | 825 kB 00:00
update 2985/2985
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 30:9.3.4-10.P1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
bind x86_64 30:9.3.4-10.P1.el5 update 961 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 961 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : bind [1/1]
Installed: bind.x86_64 30:9.3.4-10.P1.el5
Complete!
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
update | 1.3 kB 00:00
primary.xml.gz | 825 kB 00:00
update 2985/2985
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 30:9.3.4-10.P1.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
bind x86_64 30:9.3.4-10.P1.el5 update 961 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 961 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : bind [1/1]
Installed: bind.x86_64 30:9.3.4-10.P1.el5
Complete!
本文解决使用yum安装bind包时出现的mirror资源耗尽错误,通过清理yum缓存和重新安装bind包来解决。详细步骤包括清理所有yum缓存、检查系统是否注册到RHN、安装bind包并解析依赖。最终成功安装了bind包。
5041

被折叠的 条评论
为什么被折叠?



