[OpenAFS] rpm removal

Derek Atkins warlord@MIT.EDU
20 Dec 2001 00:04:42 -0500

Well, this is what the %preun script says.  I have no idea where
or how it's failing...


if [ $1 = 0 ] ; then
        /etc/rc.d/init.d/afs stop
        chkconfig --del afs
        [ -d /afs ] && rmdir /afs

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