Problem while updating perl

Dave Jones davejones70 at gmail.com
Mon Jun 16 19:57:42 IST 2008


>> >Thanks but is there a way to avoid reinstall mailscanner ? It's a
>> production
>> >server and I would prefer to not reinstall if it's possible.
>>
>> >thanks
>>
>>
>>
>> >rpm -e perl-Sys-Syslog
>> >then up2date -u
>> >then re-install MailScanner.
>>
>> >Marcello Anderlini Database Informatica wrote:
>> >> Hello I've a mailscanner *Le Service des Technologies de
>> l'Information de l'UdeS veut vous mettre en garde contre "4.58.9.1"
>> qui semble être une tentative de fraude envers* 4.58.9.1
>> <http://4.58.9.1/> running on a Centos 4.6 x86_64.
>> >> Today I've tried to update my sistem but I get this error msg:
>> >> =======================================
>> >> Transaction Check Error:
>> >> file /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/Sys/Syslog.pm
>> >> from install of perl-5.8.5-36.el4_6.3 conflicts with file from package
>> >> perl-Sys-Syslog-0.18-1
>> >> file
>> >> /usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/Sys/Syslog/Syslo
>> >> g.so from install of perl-5.8.5-36.el4_6.3 conflicts with file from
>> >> package
>> >> perl-Sys-Syslog-0.18-1
>> >> =======================================
>> >>
>> >> Could someone help me ?
>> >>
>> >> Thanks
>> >>
>> >> Dr. Marcello Anderlini
>> >> m.anderlini at database.it <mailto:m.anderlini at database.it>
>> >> ---------------------------------------------
>> >> Database Informatica S.r.l.
>> >> Microsoft Certified Partner
>> >> Tel.  +39059775070
>> >> Fax. +39059779545
>> >> http://www.database.it <http://www.database.it/>
>> >> ---------------------------------------------
>> >>
>> >>
>> >>
>> You can reinstall MailScanner but you will still have the same perl
>> conflicts next time a perl module gets updated on RPMforge (or
>> whatever your repo is that has the conflicting package).
>>
>> I would simply force the install of the perl modules (I do it all the
>> time) with the conflict from the MailScanner installation:
>>
>> # rpm -Uhv --force
>> /var/cache/yum/rpmforge/packages/perl-Sys-Syslog-0.18-1.rpm
>>
>> Substitute "rpmforge" above with whatever your repository name is and
>> the RPM file in question.
>>
>> Dave
>>
>> --
>> Dave Jones
>Dave,
>
>It didn't work on my RHEL 5.2 server:
>[root at smtps ~]# rpm -Uvh --force
>/var/cache/yum/rhel-i386-server-5/packages/perl-5.8.8-10.el5_2.3.i386.rpm
>/etc/selinux/targeted/contexts/files/file_contexts: Multiple same
>specifications for /usr/local/lost\+found/.*.
>/etc/selinux/targeted/contexts/files/file_contexts: Multiple same
>specifications for /usr/local/\.journal.
>/etc/selinux/targeted/contexts/files/file_contexts: Multiple same
>specifications for /usr/local/lost\+found.
>Preparing...                ###########################################
>[100%]
  >1:perl                   ###########################################
>[100%]
>[root at smtps ~]# MailScanner --lint
>
>
>**** ERROR: You must upgrade your perl IO module to at least
>**** ERROR: version 1.2301 or MailScanner will not work!
>
>I am now reinstalling the following MS' RPMs: perl-IO perl-File-Temp
>perl-Math-BigInt perl-Math-BigRat perl-bignum
>
>Denis

Sounds like you might have SELinux active.  Run "getenforce" and if it is
"Enforcing" then run "setenforce 0" to make it "Permissive".  Then run your
command again.

If permissive mode allows the package install command to work with --force,
then disable SELinux or try your hand at updating the SELinux policy that is
preventing it from installing.  RHEL 5 is supposed to be much easier to
customize SELinux policies but I haven't played with it yet.  I still just
disable it during the install and go...

-- 
Dave Jones
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080616/f41d5bea/attachment.html


More information about the MailScanner mailing list