LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-22-2014, 12:58 AM   #1
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Rep: Reputation: 33
YUM Update error while updateing Perl...


Greetings all,

The error below is driving me crazy. I can't figure out how to resolve this error as I don't know where to look to find these files.

Any help will be much appreciated. Thanks

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
 
Old 01-22-2014, 01:17 AM   #2
jms89
Member
 
Registered: Jan 2013
Posts: 41

Rep: Reputation: Disabled
The files in that directory should just be used for the man pages of various programs - I don't use YUM but I'm guessing when attempting to install the new package, it's trying to write a file to that directory but a file with the same name already exists.

You could try copying that file to another directory then deleting it from the original and see if the installation will proceed. If something breaks when you do this, replace it and you'll have to try something else.

Also, the error specifies the location of the file it's complaining about - what are you confused about where to look for it?
 
Old 01-22-2014, 12:38 PM   #3
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Original Poster
Rep: Reputation: 33
Thanks for the reply.

I found the file in the indicated directory, made a backup copy of it and renamed the original. For some reason that didn't do the trick.

When I ran the yum update perl command again I got the same message.

I ran a few yum-utils commands but that to didn't work .

Do you think that the file directory/filename are kept in some sort of cache?
 
Old 01-22-2014, 01:07 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Quote:
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
"perl-File-Temp-0.19-1.rf.noarch" : That's an 'rpmforge' / 'RepoForge' package.

And :
The rpmforge/repoforge repositories are not compatible with CentOS*repo etc. repos.
So you will have to use rpmforge/repoforge repositories temporarily only.
And at least disable at any update.
Or use "yum priority" facilities.

-

Last edited by knudfl; 01-22-2014 at 01:08 PM.
 
Old 01-29-2014, 03:04 PM   #5
swamprat
Member
 
Registered: Sep 2005
Location: New Jersey, (Which Exit LOL), USA
Distribution: Centos 6.7 Under VMware in Win7
Posts: 436

Original Poster
Rep: Reputation: 33
Well I've tried just everything under the sun to resolve this issue. Although I thank all who have made suggestions as how to resolve this issue nothing has been fixed. I've just been banging around in the bushes.

So, if anyone has any real way to resolve I would appreciate you help and advice. I didn't create my CentOS 5.3 system, I got lots of help from a friend who just might have mucked things up. Well he really tried. However this system can't be properly updated and that's a problem.

Thanks again
 
Old 01-29-2014, 03:46 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
as above
perl-File-Temp-0.19-1.rf.noarch
is from RPMFORGE
and in the older 5 series rpmforge was and still is incompatible with centos5 base and update repo's
this is a VERY OLD and very well documented issue that was SO BIG of a problem

that was mostly fixed in Centos 6

you MUST !!!!!
must use ether "yum-priorities" plugin or yum-protectbase" plugin
AND CONFIGURE IT !!!!!!!

Did you read any of the WARNINGS on the centos wiki about "third party repos ?
http://wiki.centos.org/AdditionalResources/Repositories
and the wiki page for the "Priorities" plugin

http://wiki.centos.org/PackageManagement/Yum/Priorities


you must configure the plugin and the data base
AND remove any current incompatible RF rpm's

to get a list of "rf" rpms installed
Code:
su -
rpm -qa | grep rf > /rpmforgelist.txt
then uninstall the rf rpm's
Code:
su -
yum remove NameOfTheProgram
Quote:
I didn't create my CentOS 5.3 system
as you know 5.3 is now 7 versions and 3+ years out of date
and 3+ years past it's end of life
i would take this opportunity to upgrade to the current ( and very last) older 5 series version
Centos 5.10

Last edited by John VV; 01-29-2014 at 03:51 PM.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yum error after yum update and reboot jonaskellens Linux - Newbie 17 07-16-2013 11:05 AM
after yum update, can't yum update yet, some error occured novelbean Linux - Newbie 5 04-03-2013 09:13 PM
Perl update dependency problems with yum fedora core 16 schopel Linux - Software 6 09-13-2012 01:46 PM
Don't know how to solve the Perl dependency (Getopt::Std) error that yum update gives info2share Linux - Software 2 07-07-2009 04:18 AM
Yum error: .conflict between perl and perl-NDBM_File zepplin611 Red Hat 3 10-20-2004 11:22 AM


All times are GMT -5. The time now is 08:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration