我必须托管(具有名为amescom的存储库的服务器)和使用服务器存储库下载并安装rpm和软件包的客户端
当我尝试从客户端主机使用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
最佳答案
看起来amescom
存储库包含一些软件包,但不包含其依赖项。例如。它包含db4-4.7.25-18.el6_4
但不是必需的db4-utils-4.7.25-18.el6_4
,因此您会遇到上述依赖性问题。检查此输出以查看所有可用的db4和db4-utils版本。
yum list db4\* --showduplicate
您可能还想让存储库管理员在仓库上运行repoclosure(或者您可以自己执行),以查看仓库中的所有软件包是否也都具有其依赖项。