[OpenAFS] OpenAFS rpm uninstall problem

Derek Atkins warlord@MIT.EDU
Fri, 09 Apr 2004 00:04:51 -0400


Ron Croonenberg <ronc@depauw.edu> writes:

> Here's what happens when I try to uninstall this rpm :
>
> [root@neptune OpenAFS]# rpm -qa | grep afs
> krbafs-1.1.1-11
> krbafs-utils-1.1.1-11
> openafs-1.2.11-rhel3.0.1
> krbafs-devel-1.1.1-11
>
> [root@neptune OpenAFS]# rpm -e openafs-1.2.11-rhel3.0.1
> /var/tmp/rpm-tmp.88800: line 2: /etc/init.d/afs: No such file or directory
> error reading information on service afs: No such file or directory
> error: %preun(openafs-1.2.11-rhel3.0.1) scriptlet failed, exit status 1

Uhh..  That's bogus.  Something must have destroyed this file.  Did
you rm it by hand?  I'm asking because /etc/init.d/afs is part of the
"openafs" package, so there's no way that it couldn't be there unless
something destroyed it outside the package.

> I would like to uninstall everything AFS so that I can start from scratch again.
>
> any tips ?

rpm -e --noscripts openafs

> thanks,
>
> Ron

-derek

-- 
       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