[CentOS] centos 4.4: up2date rpm post scriptlet fail ?

Thu Aug 31 08:58:49 UTC 2006
Martin Hamant <mh at accelance.fr>

Le Thu, 31 Aug 2006 10:55:20 +0200
Martin Hamant <mh at accelance.fr> écrivait:

> Le Thu, 31 Aug 2006 10:53:17 +0200
> Martin Hamant <mh at accelance.fr> écrivait:
> 
> > Hi,
> > 
> > I got this in yum update process :
> > 
> > /var/tmp/rpm-tmp.43939: line 12: restorecon: command not found
> > error: %post(up2date-4.4.69-25.centos4.5.i386) scriptlet failed,
> > exit status 127
> > 
> > "restorecon" is from package "policycoreutils", this last one has
> > never been installed on my system ...
> > 
> > Any ideas ?
> > 
> 
> # rpm -qa | grep up2date
> up2date-4.4.67-4.centos4
> up2date-4.4.69-25.centos4.5
> 
> :-o How it's possible ?
> 
> 

Sorry for the noise. I explain this phenomen by the fact that in the
past this server has been remotely upgraded from a centos 3.X to a 4.0,
and so some old packages remains :/

(Apart from this, the server is running fine :) ).

sorry again.

-- 
Martin