&gt;Dave Jones a écrit :<br>&gt;&gt;<br>&gt;&gt; &gt;&gt; You can reinstall MailScanner but you will still have the same perl<br>&gt;&gt; &gt;&gt; conflicts next time a perl module gets updated on RPMforge (or<br>&gt;&gt; &gt;&gt; whatever your repo is that has the conflicting package).<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; I would simply force the install of the perl modules (I do it all the<br>&gt;&gt; &gt;&gt; time) with the conflict from the MailScanner installation:<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; # rpm -Uhv --force<br>
&gt;&gt; &gt;&gt; /var/cache/yum/rpmforge/packages/perl-Sys-Syslog-0.18-1.rpm<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Substitute &quot;rpmforge&quot; above with whatever your repository name is and<br>&gt;&gt; &gt;&gt; the RPM file in question.<br>
&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; Dave<br>&gt;&gt; &gt;&gt;<br>&gt;&gt; &gt;&gt; --<br>&gt;&gt; &gt;&gt; Dave Jones<br>&gt;&gt; &gt;Dave,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;It didn&#39;t work on my RHEL 5.2 server:<br>
&gt;&gt; &gt;[root@smtps ~]# rpm -Uvh --force<br>&gt;&gt; &gt;/var/cache/yum/rhel-i386-server-5/packages/perl-5.8.8-10.el5_2.3.i386.rpm<br>&gt;&gt; &gt;/etc/selinux/targeted/contexts/files/file_contexts: Multiple same<br>
&gt;&gt; &gt;specifications for /usr/local/lost\+found/.*.<br>&gt;&gt; &gt;/etc/selinux/targeted/contexts/files/file_contexts: Multiple same<br>&gt;&gt; &gt;specifications for /usr/local/\.journal.<br>&gt;&gt; &gt;/etc/selinux/targeted/contexts/files/file_contexts: Multiple same<br>
&gt;&gt; &gt;specifications for /usr/local/lost\+found.<br>&gt;&gt; &gt;Preparing...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ###########################################<br>&gt;&gt; &gt;[100%]<br>&gt;&gt;&nbsp;&nbsp; &gt;1:perl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ###########################################<br>
&gt;&gt; &gt;[100%]<br>&gt;&gt; &gt;[root@smtps ~]# MailScanner --lint<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;**** ERROR: You must upgrade your perl IO module to at least<br>&gt;&gt; &gt;**** ERROR: version 1.2301 or MailScanner will not work!<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;I am now reinstalling the following MS&#39; RPMs: perl-IO perl-File-Temp<br>&gt;&gt; &gt;perl-Math-BigInt perl-Math-BigRat perl-bignum<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;Denis<br>&gt;&gt;<br>&gt;&gt; Sounds like you might have SELinux active.&nbsp; Run &quot;getenforce&quot; and if it<br>
&gt;&gt; is &quot;Enforcing&quot; then run &quot;setenforce 0&quot; to make it &quot;Permissive&quot;.&nbsp; Then<br>&gt;&gt; run your command again.<br>&gt;&gt;<br>&gt;&gt; If permissive mode allows the package install command to work with<br>
&gt;&gt; --force, then disable SELinux or try your hand at updating the SELinux<br>&gt;&gt; policy that is preventing it from installing.&nbsp; RHEL 5 is supposed to<br>&gt;&gt; be much easier to customize SELinux policies but I haven&#39;t played with<br>
&gt;&gt; it yet.&nbsp; I still just disable it during the install and go...<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; Dave Jones<br>&gt;<br>&gt;Dave,<br>&gt;<br>&gt;It is disabled on all my servers (I just checked and getenforce returns<br>
&gt;Disabled)...&nbsp; I see the &quot;selinux&quot; messages all the time whenever I<br>&gt;install or upgrade an RPM... to the point where I don&#39;t even pay any<br>&gt;attention to them...&nbsp; could have been the reason I had problem, though!<br>
&gt;<br>&gt;Denis<br>Now that I see your repo is &quot;rhel-i386-server-5&quot; then there could be a few<br>other things it could be.&nbsp; What repos do you have installed and active?&nbsp; If<br>you have RPMforge installed (which every CentOS box should have), it may<br>
overlap some packages with with the RHEL repo.&nbsp; We install RPMforge on our<br>RHEL boxes but keep it disabled (/etc/yum.repos.d/rpmforge.repo).&nbsp; Then we<br>only enable it for specific packages from the command line with the <br>
&quot;--enable-repo=rpmforge&quot; option.<br><br>On a RHEL server like yours, the perl packages should come from the RHEL<br>repo to keep everything clean.&nbsp; Is it possible that perl was updated or<br>installed from another source?&nbsp; You might try removing and reinstalling perl<br>
after making sure that the only active repo is &quot;rhel-i386-server-5.&quot;<br>-- <br>Dave Jones