fedora-usermgmt-shadow-utils
Eric Tanguy
eric.tanguy at univ-nantes.fr
Wed Mar 22 19:53:33 UTC 2006
Le mercredi 22 mars 2006 à 11:43 +0100, Alain PORTAL a écrit :
> 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
Yes but i still have scripts.legacy and scripts.shadow-utils
in /etc/fedora/usermgmt :
ll /etc/fedora/usermgmt/
total 16
drwxr-xr-x 2 root root 4096 mar 21 12:37 scripts.legacy
drwxr-xr-x 2 root root 4096 mar 21 12:37 scripts.shadow-utils
Regards
Eric
More information about the fedora-list
mailing list