I was removing some RPMs using rpm -e [package] and the process 
appeared to hang.  After many minutes of waiting, I attempted to kill it,
with no success.  And I cannot do any other rpm commands until it's done/killed. 
What can I do?

[root at walleye atanner]# ps -ef | grep rpm
root      5863  5836  0 11:47 ?        00:00:00 rpm -e apmd autofs xisdnload isdroot      5971  5906  0 12:03 ttyp2    00:00:00 grep rpm
[root at walleye atanner]# kill -9 5863
[root at walleye atanner]# ps -ef | grep rpm
root      5863  5836  0 11:47 ?        00:00:00 rpm -e apmd autofs xisdnload isdroot      5974  5906  0 12:08 ttyp2    00:00:00 grep rpm
[root at walleye atanner]# rpm -q apmd
error: cannot get shared lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)

thanks.

-- 
Amy Tanner
amy at real-time.com