Description of problem: When removing the distcache rpm on RHEL3 it will fail with chkconfig usage. Version-Release number of selected component (if applicable): Version 0.4.2-3 tested How reproducible: Always Steps to Reproduce: 1. Attempt to remove distcache with rpm -e 2. distcache-devel will need to be removed first or use --nodeps 3. Actual results: The rpm is not removed and fails. Expected results: Full rpm removal. Additional info: The failure occurs here: %preun if [ $1 = 0 ]; then /sbin/service dc_server stop /sbin/service dc_client stop /sbin/chkconfig --del dc_server dc_client fi --del does not take two arguments. Only one per deletion. Adding a new line under corrects the problem: %preun if [ $1 = 0 ]; then /sbin/service dc_server stop /sbin/service dc_client stop /sbin/chkconfig --del dc_client /sbin/chkconfig --del dc_server fi
error/usage is as follows: (root@flux)(502/pts)(06:33pm:02/09/04)- (#:~)- rpm -e distcache chkconfig version 1.3.8 - Copyright (C) 1997-2000 Red Hat, Inc. This may be freely redistributed under the terms of the GNU Public License. usage: chkconfig --list [name] chkconfig --add <name> chkconfig --del <name> chkconfig [--level <levels>] <name> <on|off|reset>) error: %preun(distcache-0.4.2-3) scriptlet failed, exit status 1
Also submitting this through SEG.
*** This bug has been marked as a duplicate of 110115 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.