为什么yum -y install bind 之后软件包错误

img


前面的挂载和yum源文件没有问题,直到最后一步安装出现问题。

你yum确定弄好没有?例如:

img

先明确这个,如果明确了,再直接进行安装。现在是你需要的版本不合适,去查查源先

你这缺少安装依赖包:bind-libs,下面的是我安装过程中所需要的依赖包,这些依赖包全部安装完成后,才可以安装bind


Installing for dependencies:
 GeoIP                                             x86_64                            1.5.0-14.el7                                           base                               1.5 M
 audit-libs-python                                 x86_64                            2.8.5-4.el7                                            base                                76 k
 bind-libs                                         x86_64                            32:9.11.4-26.P2.el7_9.10                               updates                            158 k
 bind-libs-lite                                    x86_64                            32:9.11.4-26.P2.el7_9.10                               updates                            1.1 M
 bind-license                                      noarch                            32:9.11.4-26.P2.el7_9.10                               updates                             91 k
 checkpolicy                                       x86_64                            2.5-8.el7                                              base                               295 k
 geoipupdate                                       x86_64                            2.5.0-1.el7                                            base                                35 k
 libcgroup                                         x86_64                            0.41-21.el7                                            base                                66 k
 libsemanage-python                                x86_64                            2.5-14.el7                                             base                               113 k
 policycoreutils-python                            x86_64                            2.5-34.el7                                             base                               457 k
 python-IPy                                        noarch                            0.75-6.el7                                             base                                32 k
 python-ply                                        noarch                            3.4-11.el7                                             base                               123 k
 setools-libs                                      x86_64                            3.3.8-4.el7                                            base                               620 k

img