fedora-usermgmt-shadow-utils

Alain PORTAL aportal at univ-montp2.fr
Wed Mar 22 10:43:39 UTC 2006


Hi Éric,

Le Mardi 21 Mars 2006 20:47, Eric Tanguy a écrit :
> If i try to uninstall fedora-usermgmt-shadow-utils :
> sudo rpm -e fedora-usermgmt-shadow-utils
> Password:
> erreur: %preun(fedora-usermgmt-shadow-utils-0.8-2.fc5.noarch) scriptlet
> failed, exit status 2
>
> what's the problem ?

Strange... I just installed (on FC-4) then remove this package without error.

If you have a look in the fedora-usermgmt spec file, you can see the 
preuninstall script:

%preun shadow-utils
test "$1" != 0 || %alternatives --remove %name %confdir/scripts.shadow-utils
test "$1" != 0 || %alternatives --remove %name %confdir/scripts.legacy

I'm really not a guru in alternatives, but after erasing package, have a look 
in /etc/alternatives, fedora-usermgnt doesn't be present, and 
in /etc/fedora/usermgmt, directories scripts.legacy and scripts.shadow-utils 
don't be present anymore.

Hope this help.

Regards.
Alain
-- 
Les pages de manuel Linux en français :
http://manpagesfr.free.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060322/1f81cfa6/attachment-0001.sig>


More information about the fedora-list mailing list