linux yum 更新失败,如何在更新期间解决yum错误 – CentOS

部署运行你感兴趣的模型镜像

我正在使用Apache运行CentOS 6.4,并且无法通过WHM运行Easy Apache更新.它失败了与yum相关的错误,因此我决定手动更新yum.

这是运行yum update –skip-broken时输出的最后一个视图行

Packages skipped because of dependency problems:

compat-expat1-1.95.8-8.el6.x86_64 from base

git-1.8.2.1-1.el5.x86_64 from epel

glibc-2.12-1.107.el6_4.4.i686 from updates

glibc-2.12-1.107.el6_4.4.x86_64 from updates

glibc-devel-2.12-1.107.el6_4.4.i686 from updates

glibc-devel-2.12-1.107.el6_4.4.x86_64 from updates

glibc-headers-2.12-1.107.el6_4.4.x86_64 from updates

glibc-static-2.12-1.107.el6_4.4.x86_64 from updates

nscd-2.12-1.107.el6_4.4.x86_64 from updates

Error: Multilib version problems found. This often means that the root

cause is something else and multilib version checking is just

pointing out that there is a problem. Eg.:

1. You have an upgrade for nss-softokn-freebl which is missing some

dependency that another package requires. Yum is trying to

solve this by installing an older version of nss-softokn-freebl of the

different architecture. If you exclude the bad architecture

yum will tell you what the root cause is (which package

requires what). You can try redoing the upgrade with

--exclude nss-softokn-freebl.otherarch ... this should give you an error

message showing the root cause of the problem.

2. You have multiple architectures of nss-softokn-freebl installed, but

yum can only see an upgrade for one of those arcitectures.

If you don't want/need both architectures anymore then you

can remove the one with the missing update and everything

will work.

3. You have duplicate versions of nss-softokn-freebl installed already.

You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove

this checking, however this is almost never the correct thing to

do as something else is very likely to go wrong (often causing

much more problems).

Protected multilib versions: nss-softokn-freebl-3.14.3-3.el6_4.i686 != nss-softokn-freebl-3.12.9-11.el6.x86_64

Error: Protected multilib versions: libgcc-4.4.7-3.el6.i686 != libgcc-4.4.6-4.el6.x86_64

** Found 12 pre-existing rpmdb problem(s), 'yum check' output follows:

bash-4.1.2-15.el6_4.x86_64 is a duplicate with bash-4.1.2-9.el6_2.x86_64

centos-release-6-4.el6.centos.10.x86_64 is a duplicate with centos-release-6-3.el6.centos.9.x86_64

12:dhcp-common-4.1.1-34.P1.el6_4.1.x86_64 is a duplicate with 12:dhcp-common-4.1.1-31.0.1.P1.el6.centos.1.x86_64

frontpage-2002-SR1.2.i386 has missing requires of libexpat.so.0

glibc-common-2.12-1.107.el6_4.4.x86_64 is a duplicate with glibc-common-2.12-1.80.el6_3.4.x86_64

glibc-common-2.12-1.107.el6_4.4.x86_64 has missing requires of glibc = ('0', '2.12', '1.107.el6_4.4')

libgcc-4.4.7-3.el6.x86_64 is a duplicate with libgcc-4.4.6-4.el6.x86_64

nss-softokn-freebl-3.14.3-3.el6_4.x86_64 is a duplicate with nss-softokn-freebl-3.12.9-11.el6.x86_64

sendmail-cf-8.14.4-8.el6.noarch has missing requires of sendmail = ('0', '8.14.4', '8.el6')

setup-2.8.14-20.el6_4.1.noarch is a duplicate with setup-2.8.14-16.el6.noarch

tzdata-2013c-2.el6.noarch is a duplicate with tzdata-2012c-3.el6.noarch

xorg-x11-proto-devel-7.6-25.el6.noarch is a duplicate with xorg-x11-proto-devel-7.6-13.el6.noarch

我没有按照错误建议的步骤进行操作,因为我觉得这里存在更大的潜在问题.我应该采取什么措施来恢复完全正常工作的百胜?

您可能感兴趣的与本文相关的镜像

GPT-SoVITS

GPT-SoVITS

AI应用

GPT-SoVITS 是一个开源的文本到语音(TTS)和语音转换模型,它结合了 GPT 的生成能力和 SoVITS 的语音转换技术。该项目以其强大的声音克隆能力而闻名,仅需少量语音样本(如5秒)即可实现高质量的即时语音合成,也可通过更长的音频(如1分钟)进行微调以获得更逼真的效果

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值