Solve the problem that prompts transaction Check error when Yum update

Source: Internet
Author: User

Today, when I was helping a friend update the system, I found one of the servers that prompted:

Transaction Check Error:
file/usr/lib/perl5/5.8.8/cgi.pm from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8.8 -32.el5_6.3.i386
file/usr/lib/perl5/5.8.8/digest.pm from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5. 8.8-32.el5_6.3.i386
file/usr/share/man/man1/c2ph.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8 .8-32.el5_6.3.i386
file/usr/share/man/man1/cpan.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5.8 .8-32.el5_6.3.i386
file/usr/share/man/man1/dprofpp.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl- 5.8.8-32.el5_6.3.i386
file/usr/share/man/man1/perlvms.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl- 5.8.8-32.el5_6.3.i386
file/usr/share/man/man1/perlvos.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl- 5.8.8-32.el5_6.3.i386

Omit 100 lines in the middle, it's all about Perl.

file/usr/share/man/man1/perlwin32.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file to package per L-5.8.8-32.el5_6.3.i386
file/usr/share/man/man1/perlxs.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5 .8.8-32.el5_6.3.i386
file/usr/share/man/man1/perlxstut.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file to package per L-5.8.8-32.el5_6.3.i386
file/usr/share/man/man1/piconv.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5 .8.8-32.el5_6.3.i386
file/usr/share/man/man1/splain.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5 .8.8-32.el5_6.3.i386
file/usr/share/man/man1/xsubpp.1.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5 .8.8-32.el5_6.3.i386
file/usr/share/man/man3/cgi.3pm.gz from install to perl-5.8.8-32.el5_7.6.x86_64 conflicts with file from package perl-5. 8.8-32.el5_6.3.i386

Error Summary
-------------

After careful observation it is Perl's problem that other software updates alone are fine.

If you look at most of the information in the error, you can probably guess the crux of the problem. 64-bit system i386 and x64 software conflict, then uninstall the i386 conflict-related software, can generally solve the problem.

Either way, ignore the Perl upgrade, or uninstall Perl's i386 and treat it as if it were a conflict with other software.

Yum Update--exclude=perl

Find software to conflict with

Rpm-q perl--qf '%{name}%{version}%{arch} '

Get output:

Perl 5.8.8 x86_64
Perl 5.8.8 i386

Then uninstall the conflicting i386 package:

Rpm-e perl.i386

Upgrade again, fix it! Other software please refer to this article.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.