内存不足后,Yum更新失败

时间:2015-01-08 18:50:42

标签: yum

尝试yum更新时内存不足。增加了内存,但是当内存不足时,以前的yum更新失败,而且我无法完成更新。

现在当我运行yum update时,我得到:

Error: Package: coreutils-libs-8.4-31.el6_5.2.x86_64 (@updates)
           Requires: coreutils = 8.4-31.el6_5.2
           Removing: coreutils-8.4-31.el6_5.2.x86_64 (@updates)
               coreutils = 8.4-31.el6_5.2
           Updated By: coreutils-8.4-37.el6.x86_64 (base)
               coreutils = 8.4-37.el6
Error: Package: abrt-addon-ccpp-2.0.8-21.el6.centos.x86_64 (@base)
           Requires: abrt = 2.0.8-21.el6.centos
           Removing: abrt-2.0.8-21.el6.centos.x86_64 (@base)
               abrt = 2.0.8-21.el6.centos
           Updated By: abrt-2.0.8-26.el6.centos.x86_64 (base)
               abrt = 2.0.8-26.el6.centos
Error: Package: abrt-addon-python-2.0.8-21.el6.centos.x86_64 (@base)
           Requires: abrt = 2.0.8-21.el6.centos
           Removing: abrt-2.0.8-21.el6.centos.x86_64 (@base)
               abrt = 2.0.8-21.el6.centos
           Updated By: abrt-2.0.8-26.el6.centos.x86_64 (base)
               abrt = 2.0.8-26.el6.centos
Error: Package: abrt-addon-kerneloops-2.0.8-21.el6.centos.x86_64 (@base)
           Requires: abrt = 2.0.8-21.el6.centos
           Removing: abrt-2.0.8-21.el6.centos.x86_64 (@base)
               abrt = 2.0.8-21.el6.centos
           Updated By: abrt-2.0.8-26.el6.centos.x86_64 (base)
               abrt = 2.0.8-26.el6.centos
 You could try using --skip-broken to work around the problem

rpm -q coreutils-libs abrt-addon-ccpp abrt-addon-python abrt-addon-kerneloops:

coreutils-libs-8.4-37.el6.x86_64
coreutils-libs-8.4-31.el6_5.2.x86_64
abrt-addon-ccpp-2.0.8-21.el6.centos.x86_64
abrt-addon-ccpp-2.0.8-26.el6.centos.x86_64
abrt-addon-python-2.0.8-26.el6.centos.x86_64
abrt-addon-python-2.0.8-21.el6.centos.x86_64
abrt-addon-kerneloops-2.0.8-26.el6.centos.x86_64
abrt-addon-kerneloops-2.0.8-21.el6.centos.x86_64

1 个答案:

答案 0 :(得分:0)

这听起来像是存储库不匹配。

您没有描述您正在使用的Linux发行版的版本(CentOS,Scientific Linux或Redhat Enterprise Linux)

yum repolist获取活动存储库,以便您可以查看哪些已激活并向我们提供更多信息。

yum-complete-transaction是恢复取消yum install或yum updates的好命令。

查看更多@ http://linux.die.net/man/8/yum-complete-transaction

您可以尝试禁用所有存储库并逐个启用它们。

我建议您只启用适用于您的发布的那个。

请向我们提供更多信息。

  1. Linux发布和发布
  2. yum repolist的输出