Solved problems updating perl-XML-SAX-0.96-7.el6.noarch on CentOS 6

在CentOS6上安装MUNIN时遇到依赖冲突导致安装失败的问题,通过手动卸载冲突包并重新安装解决了该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

今天,在CENTOS 6上安装测试MUNIN时,遇到此问题。。。

在网上找了解决办法。。建议手工单独安装或删除有冲突的包。。

~~~~~

Today yum chase its own tail during the package update of one of our servers.

Updating the packages needed the installation of any new packages because of dependencies. The transaction check breaks with:

Transaction Check Error:
  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
  file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch

No way out. Google didn’t know anything about.

The solution of this problem is removing any packages and reinstall them manually. In my situation I removed both packages which made trouble: perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch. I reinstalled perl-XML-SAX-0.96-7.el6.noarch again and any transaction check works and yum installed the updates. I didn’t reinstalled the package perl-XML-SAX-Base-1.04.1.el6.rf.noarch because it seems to be no longer a dependency of any perl-SAX package.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值