yum update 出现报错Transaction Check Error:
时间:2016-01-02 22:21 来源:linux.it.net.cn 作者:IT
执行yum update 的时候出现如下错误现象:
Transaction Check Error:
file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package
openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package
openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package
openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package
openssl-0.9.8e-27.el5_10.4.i686 Error Summary openssl
根据报错中error 相关的提示,说明在升级OPENSSL 时不正常导致的。这时处理方法如下:
1、略过这个报错包的升级,直接升级其他的软件包。执行命令如下:
yum update --exclude=openssl* // 跳过openssl的升级。
这时升级正常报错消失;
2、问题分析。关于这个openssl包的问题,分析是冲突导致的,这时需要找出要冲突的软件 ,执行命令如下:
rpm -q openssl --qf '%{NAME} %{VERSION} %{ARCH}'
例如:得到输出: perl 5.8.8 x86_64 perl 5.8.8 i386
3、卸载掉冲突的i386包:
rpm -e perl.i386
备注:以上操作前,请务必创建快照,以免存在数据丢失。
(责任编辑:IT)
执行yum update 的时候出现如下错误现象: Transaction Check Error: file /etc/pki/tls/certs/ca-bundle.crt from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package openssl-0.9.8e-27.el5_10.4.i686 file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-36.el5_11.x86_64 conflicts with file from package openssl-0.9.8e-27.el5_10.4.i686 Error Summary openssl
根据报错中error 相关的提示,说明在升级OPENSSL 时不正常导致的。这时处理方法如下: 1、略过这个报错包的升级,直接升级其他的软件包。执行命令如下:
yum update --exclude=openssl* // 跳过openssl的升级。
这时升级正常报错消失; 2、问题分析。关于这个openssl包的问题,分析是冲突导致的,这时需要找出要冲突的软件 ,执行命令如下:
rpm -q openssl --qf '%{NAME} %{VERSION} %{ARCH}' 例如:得到输出: perl 5.8.8 x86_64 perl 5.8.8 i386
3、卸载掉冲突的i386包: rpm -e perl.i386
备注:以上操作前,请务必创建快照,以免存在数据丢失。 |