gpt4 book ai didi

centos - 如何修复类似 "required and installed (@@anaconda-CentOS-201303020151.x86_64/6.4)"的错误

转载 作者:太空宇宙 更新时间:2023-11-03 17:17:33 24 4
gpt4 key购买 nike

我必须使用主机(具有名为 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在 repo 协议(protocol)上(或者你可以自己做)看看 repo 协议(protocol)中的所有包是否也有它的依赖项。

关于centos - 如何修复类似 "required and installed (@@anaconda-CentOS-201303020151.x86_64/6.4)"的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22128990/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com