错误信息:
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!