OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [Security-Discuss] Update problem in samba-client

From: FACORAT Fabrice (f.faber-proifrance.com)
Date: Mon Nov 08 2004 - 07:19:06 CST


Le lundi 8 Novembre 2004 04:11, Bob PuffNLE a écrit :
> I noticed that in performing the samba update MDKSA-2004:104 on about a
> dozen various 9.2 boxes via urpmi, the samba update gives off this error:
>
> error: %preun(samba-client-2.2.8a-13.1.92mdk) scriptlet failed, exit status
> 1
>
> If I try to rpm -Uhv the update RPM, it tells me that it is already
> installed. Samba appears to work, although all the machines are servers,
> and I have no need to use the client part.
>
> Is this a benign error?

it's an error in the pre-uninstall script. so this is called normally when you
already have a samba package : before it removes the package, it call the
pre-uninstall script and then remove the package.
This may be used to backup data/config files/etc ...
It would be interesting to know where it failed however ...

Is there a way to improve error report in preun/postun/pre/post scripts ?

--
L'histoire et les sciences de la nature furent nécessaires
contre le Moyen Age: le savoir contre la croyance.
F. Nietzsche

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________