如何修复“必需和安装(@@ anaconda-CentOS-201303020151.x86_64 / 6.4)”之类的错误

时间:2014-03-02 14:41:24

标签: centos repository rpm yum

我必须托管(具有名为amescom的存储库的服务器)和使用服务器存储库下载和安装rpms和软件包的客户端 当我尝试使用客户端主机的yum update命令更新存储库时,它给出了以下错误:

Package: coreutils-8.4-31.el6.x86_64 (amescom)
           Requires: coreutils-libs = 8.4-31.el6
           Installed: coreutils-libs-8.4-19.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               coreutils-libs = 8.4-19.el6
Error: Package: e2fsprogs-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: libss = 1.41.12-14.el6
           Removing: libss-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               libss = 1.41.12-14.el6
           Updated By: libss-1.41.12-18.el6.x86_64 (amescom)
               libss = 1.41.12-18.el6
Error: Package: cronie-anacron-1.4.4-7.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: cronie = 1.4.4-7.el6
           Removing: cronie-1.4.4-7.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               cronie = 1.4.4-7.el6
           Updated By: cronie-1.4.4-12.el6.x86_64 (amescom)
               cronie = 1.4.4-12.el6
Error: Package: e2fsprogs-libs-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: libcom_err = 1.41.12-14.el6
           Removing: libcom_err-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               libcom_err = 1.41.12-14.el6
           Updated By: libcom_err-1.41.12-18.el6.x86_64 (amescom)
               libcom_err = 1.41.12-18.el6
Error: Package: ca-certificates-2013.1.95-65.1.el6_5.noarch (amescom)
           Requires: p11-kit >= 0.18.4-2
Error: Package: db4-utils-4.7.25-17.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: db4 = 4.7.25-17.el6
           Removing: db4-4.7.25-17.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               db4 = 4.7.25-17.el6
           Updated By: db4-4.7.25-18.el6_4.x86_64 (amescom)
               db4 = 4.7.25-18.el6_4
Error: Package: coreutils-libs-8.4-19.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: coreutils = 8.4-19.el6
           Removing: coreutils-8.4-19.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               coreutils = 8.4-19.el6
           Updated By: coreutils-8.4-31.el6.x86_64 (amescom)
               coreutils = 8.4-31.el6
Error: Package: ca-certificates-2013.1.95-65.1.el6_5.noarch (amescom)
           Requires: p11-kit-trust >= 0.18.4-2
Error: Package: nss-tools-3.14.0.0-12.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: nss = 3.14.0.0-12.el6
           Removing: nss-3.14.0.0-12.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               nss = 3.14.0.0-12.el6
           Updated By: nss-3.15.3-3.el6_5.x86_64 (amescom)
               nss = 3.15.3-3.el6_5
Error: Package: nss-softokn-3.14.3-9.el6.x86_64 (amescom)
           Requires: nss-softokn-freebl(x86-64) >= 3.14.3
           Installed: nss-softokn-freebl-3.12.9-11.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               nss-softokn-freebl(x86-64) = 3.12.9-11.el6
Error: Package: e2fsprogs-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
           Requires: libcom_err = 1.41.12-14.el6
           Removing: libcom_err-1.41.12-14.el6.x86_64 (@anaconda-CentOS-201303020151.x86_64/6.4)
               libcom_err = 1.41.12-14.el6
           Updated By: libcom_err-1.41.12-18.el6.x86_64 (amescom)
               libcom_err = 1.41.12-18.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

1 个答案:

答案 0 :(得分:0)

看起来amescom repo包含一些包但不包含其依赖项。例如。它包含db4-4.7.25-18.el6_4但不需要db4-utils-4.7.25-18.el6_4,因此您会遇到上述依赖性问题。检查此输出以查看所有可用的db4和db4-utils版本:

yum list db4\* --showduplicate

您可能还想让存储库管理员在repo上运行repoclosure(或者您可以自己执行),以查看repo中的所有软件包是否也具有其依赖项。