yum install perl报错

今天yum install perl 出错

 file /usr/share/man/man1/perlmod.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlmodinstall.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlmodlib.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlmodstyle.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlmpeix.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlnetware.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlnewmod.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlnumber.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlobj.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlop.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlopenbsd.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlopentut.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlos2.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386
  file /usr/share/man/man1/perlos390.1.gz from install of perl-5.8.8-40.el5_9.x86_64 conflicts with file from package perl-5.8.8-38.el5_8.i386

看错误内的大部分信息,就大概可以猜出问题的症结。64位系统内的i386和x64软件的冲突,那么卸载掉i386的冲突相关软件,一般可以解决问题。

两种情况,要不把perl的升级忽略掉,要不卸载了perl的i386。

yum update --exclude=perl

找出要冲突的软件

rpm -q perl --qf '%{NAME} %{VERSION} %{ARCH}'
得到输出:

perl 5.8.8 x86_64
perl 5.8.8 i386
卸载掉冲突的i386包:
rpm -e perl.i386

再次升级,搞定!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值