如何修复“必需且已安装 (@@anaconda-CentOS-201303020151.x86_64/6.4)”之类的错误
Posted
技术标签:
【中文标题】如何修复“必需且已安装 (@@anaconda-CentOS-201303020151.x86_64/6.4)”之类的错误【英文标题】:how to fix error like "required and installed (@@anaconda-CentOS-201303020151.x86_64/6.4)" 【发布时间】:2014-04-03 10:50:57 【问题描述】:我必须托管(具有名为 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
【问题讨论】:
一段时间以来,我也遇到了 coreutils 升级的问题 - 得到以下信息:coreutils-libs-8.4-31.el6_5.1.x86_64 is a duplicate with coreutils-libs- 8.4-31.el6.x86_64 coreutils-libs-8.4-31.el6_5.1.x86_64 缺少 coreutils = ('0', '8.4', '31.el6_5.1') librsvg2-2.26.0-6 的要求.el6_5.3.x86_64 与 librsvg2-2.26.0-5.el6_1.1.0.1.centos.x86_64 重复 openldap-2.4.23-34.el6_5.1.x86_64 与 openldap-2.4.23- 重复32.el6_4.1.x86_64 openldap-devel-2.4.23-34.el6_5.1.x86_64 与 openldap-devel-2.4.23-32.el6_4.1.x86_64 重复 【参考方案1】:看起来amescom
repo 包含一些包,但不包含它的依赖项。例如。它包含db4-4.7.25-18.el6_4
,但不是必需的db4-utils-4.7.25-18.el6_4
,因此您会遇到上述依赖问题。检查此输出以查看所有可用的 db4 和 db4-utils 版本:
yum list db4\* --showduplicate
您可能还想要求存储库管理员在存储库上运行repoclosure(或者您可以自己执行)以查看存储库中的所有包是否也有其可用的依赖项。
【讨论】:
以上是关于如何修复“必需且已安装 (@@anaconda-CentOS-201303020151.x86_64/6.4)”之类的错误的主要内容,如果未能解决你的问题,请参考以下文章