YUM Transaction Check Error During Updating the 5.3 system.

Issues related to software problems.
Post Reply
howard2782
Posts: 8
Joined: 2014/01/23 15:03:33

YUM Transaction Check Error During Updating the 5.3 system.

Post by howard2782 » 2014/01/23 20:12:58

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
__________________

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by gerald_clark » 2014/01/23 20:18:21

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

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by avij » 2014/01/23 20:21:03

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.

howard2782
Posts: 8
Joined: 2014/01/23 15:03:33

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by howard2782 » 2014/01/23 20:24:27

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. :)

howard2782
Posts: 8
Joined: 2014/01/23 15:03:33

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by howard2782 » 2014/01/23 20:47:13

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. :)

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by gerald_clark » 2014/01/23 20:49:14

You were NOT told to remove perl.

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: YUM Transaction Check Error During Updating the 5.3 syst

Post by TrevorH » 2014/01/24 01:13:06

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply