#This is an unsupported method of removing an lpp, but may be useful to #undo "user errors" while doing an install or update. This script is #intended for AIX 3.1. #where: $1 is a valid option name (i.e. bos.obj) given in the command line # Ex.: remove_an_lpp bos.obj lslpp -f $1 >/tmp/files.$$ cat /tmp/files | xargs -i rm {} 2>/dev/null cd /etc/objrepos odmdelete -o history -q lpp_name=$1 odmdelete -o inventory -q lpp_name=$1 odmdelete -o lpp -q name=$1 rm /tmp/files.$$