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.