Page 1 of 1

YUM Transaction Check Error During Updating the 5.3 system.

Posted: 2014/01/23 20:12:58
by howard2782
Greetings all,

I'm trying to update/upgrade my 5.3 system using the 'yum update' command and after every thing gets loaded down (373) packages to be updated, I get the following error and the process stops.

I can't find anyway to resolve this issue and would really appreciate helping me resolve this issue.

Thanks :(

Code: Select all

Transaction Check Error:
file /usr/share/man/man3/File::Temp.3pm.gz from install of perl-5.8.8-41.el5.i386 conflicts with file from package perl-File-Temp-0.19-1.rf.noarch
__________________

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/23 20:18:21
by gerald_clark
Your problem is with a foreign repo.
Either disable the rpmforge repo or yum remove the confilcting package perl-File-Temp-0.19-1.rf.noarch

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/23 20:21:03
by avij
You could try "yum remove perl-File-Temp" and see if it is a dependency for some other packages.

If it isn't required by other packages, I think you can remove the perl-File-Temp package. perl-5.8.8-41.el5 currently provides /usr/lib/perl5/5.8.8/File/Temp.pm and /usr/share/man/man3/File::Temp.3pm.gz

If it is a dependency for some other package, do not blindly remove the packages without understanding the consequences.

Please note that perl-File-Temp-0.19-1.rf.noarch is not a CentOS package. Looks like it's from RepoForge.

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/23 20:24:27
by howard2782
Thank you gerald_clark for you quick reply.

I'm a newbie with this and I have no idea how to go about doing what you have suggested.
If possible would be able to describe with code commands how I could go about doing what you have suggested.

Thanks again. :)

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/23 20:47:13
by howard2782
Thanks avij , if I try to remove Perl then the system tries to remove over 500 items/packages and then the entire system is trashed.
Was really happy I had a good backup of the entire system...restore and is working again. I couldn't believe how many packages are dependent on Perl. :)

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/23 20:49:14
by gerald_clark
You were NOT told to remove perl.

Re: YUM Transaction Check Error During Updating the 5.3 syst

Posted: 2014/01/24 01:13:06
by TrevorH
Try `yum remove perl-File-Temp` and do not use the -y switch to yum. Watch what it tells you will be removed and only reply Y if the list is sensible. Also check that you do not have assumeyes=1 in /etc/yum.conf which is the config file version of the -y switch.