[CentOS] fixed perl woes - perl-file-Temp conflict

Tue Jul 28 01:08:58 UTC 2009
Rob Kampen <rkampen at kampensonline.com>

Rob Kampen wrote:
>
>
> Rob Kampen wrote:
>> Hi all, everytime I play with perl I end up falling on my face.
>>
>> Yesterday, some new perl modules available from rf (my chosen repo 
>> for perl,
>> perl is excluded from my CentOS-Base), however it did not like an
>> already installed perl-File-Temp, so not recalling it was necessary for
>> my mail system I removed it and allowed the updates.
>> Then when I discovered my mail system no longer working (amavisd
>> installed as per centos wiki) I tried to re-install - finally using
>> --force - but now I have two Temp.pm files and the one I need is not 
>> found.
>> Why is it that perl has this really messy structure and allows multiple
>> files / methods of the same name, and thus tripping up the unsuspecting.
>>
>> Now I'm lost as to how to unwind and remove the necessary files from
>> yesterdays update so I can reinstall perl-File-Temp?
>> the error message :-
>>
>> Transaction Check Error:
>>   file /usr/share/man/man3/File::Temp.3pm.gz from install of
>> perl-File-Temp-0.22-1.el5.rf.noarch conflicts with file from package
>> perl-5.8.8-18.el5_3.1.i386
>>
>> From this it appears that the base perl is in conflict, yet yesterdays
>> updated perl files were
>> Jul 26 23:34:17 Updated: perl-DBI-1.609-1.el5.rf.i386
>> Jul 26 23:34:22 Updated: perl-Net-DNS-0.65-1.el5.rf.i386
>> Jul 26 23:34:35 Updated: perl-HTML-Parser-3.61-1.el5.rf.i386
>> Jul 26 23:34:37 Updated: perl-Compress-Raw-Zlib-2.020-1.el5.rf.i386
>> Jul 26 23:34:41 Updated: perl-Net-SSLeay-1.35-1.el5.rf.i386
>> Jul 26 23:34:42 Installed: perl-Crypt-OpenSSL-RSA-0.25-1.el5.rf.i386
>> Jul 26 23:34:43 Updated: 1:perl-Convert-UUlib-1.12-1.el5.rf.i386
>> Jul 26 23:34:45 Updated: perl-Digest-SHA1-2.12-1.el5.rf.i386
>> Jul 26 23:35:05 Updated: perl-DBD-mysql-4.012-1.el5.rf.i386
>> Jul 26 23:35:06 Installed: perl-Compress-Raw-Bzip2-2.020-1.el5.rf.i386
>> Jul 26 23:35:09 Installed: perl-Digest-SHA-5.47-1.el5.rf.i386
>> Jul 26 23:35:30 Installed: perl-IO-Compress-2.020-2.el5.rf.noarch
>> Jul 26 23:35:32 Installed: perl-Mail-DKIM-0.36-1.el5.rf.noarch
>> Jul 26 23:35:42 Updated: perl-Package-Constants-0.02-1.el5.rf.noarch
>> Jul 26 23:35:43 Updated: perl-IO-Socket-SSL-1.26-1.el5.rf.noarch
>> Jul 26 23:36:52 Updated: perl-IO-Zlib-1.10-1.el5.rf.noarch
>> Jul 26 23:39:05 Erased: perl-Compress-Zlib
>> Jul 26 23:39:05 Erased: perl-IO-Compress-Base
>> Jul 26 23:39:06 Erased: perl-IO-Compress-Zlib
>>
>> I tried to remove perl-IO* but it wants to remove most of my machine 
>> and I cannot allow that.
>> So how do I rewind and get it straight?
>> lost in the maze of perls
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>   
> Further looking at both my mail servers makes me even more confused.
> One is i686 the other x64_86. The one having problems is the i686. 
> They both have rpmforge set up for perl and both up to date.
> the x64_86 does not have nor apparently need perl-File-Temp.
> both have nearly identical conf files for amavisd (domains differ)
> so why does the i686 machine look for Temp.pm with a seek function but 
> the 64bit doesn't?
> confused
> now I guess I need to check version numbers
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
I found that the perl-MIME-tools package I had was from another repo, 
replaced with rf version and all is well.
problem was an
enable=0 in the yum.repo.d repo file rather than enabled=0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: rkampen.vcf
Type: text/x-vcard
Size: 196 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20090727/521f6aec/attachment-0005.vcf>