Problem while updating perl

Denis Beauchemin Denis.Beauchemin at USherbrooke.ca
Mon Jun 16 21:25:54 IST 2008


Dave Jones a écrit :
>
> >> 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 

Dave,

It is disabled on all my servers (I just checked and getenforce returns 
Disabled)...  I see the "selinux" messages all the time whenever I 
install or upgrade an RPM... to the point where I don't even pay any 
attention to them...  could have been the reason I had problem, though!

Denis

-- 
   _
  °v°   Denis Beauchemin, analyste
 /(_)\  Université de Sherbrooke, S.T.I.
  ^ ^   T: 819.821.8000x62252 F: 819.821.8045




More information about the MailScanner mailing list