[OpenAFS] rpm removal

Michael Robokoff mrobo@ahpcrc.org
Thu, 20 Dec 2001 06:16:27 -0600


Thanks for the information. I finally got around the problem by using the
--noscripts option with rpm -e. I was then able to install the new 7.2 rpms
and all is working fine now.

--Mike

Derek Atkins wrote:

> Well, this is what the %preun script says.  I have no idea where
> or how it's failing...
>
> -derek
>
> %preun
> if [ $1 = 0 ] ; then
>         /etc/rc.d/init.d/afs stop
>         chkconfig --del afs
>         [ -d /afs ] && rmdir /afs
> fi
>
> Michael Robokoff <mrobo@ahpcrc.org> writes:
>
> > I am having trouble removing "openafs-1.2.2-rh7.1.1" from my
> > system. I get the following error when I try "rpm -e
> > openafs-1.2.2-rh7.1.1"
> >
> > error: execution of %preun scriptlet from openafs-1.2.2-rh7.1.1 failed,
> > exit status 1
> >
> > I have tried reinstalling the rpm with the force option and that goes
> > fine then when
> > I try to remove the package I am still getting this error.
> >
>
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available