On Tue, Jan 21, 2003 at 10:21:00AM +0900, shawn wrote: > I wanted to delete an RPM but couldn't. > > [javauser@The_Big_Playhouse javauser]$ rpm -evv mysql-server-3.23.52-3 > D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 > D: locked db index /var/lib/rpm/Packages > D: opening db index /var/lib/rpm/Name rdonly mode=0x0 > D: opening db index /var/lib/rpm/Pubkeys rdonly mode=0x0 > D: read h# 628 Header sanity check: OK > D: ========== DSA pubkey id 219180cddb42a60e > D: read h# 617 Header V3 DSA signature: OK, key ID db42a60e > D: ========== --- mysql-server-3.23.52-3 <snip> > error: cannot get exclusive lock on /var/lib/rpm/Packages > D: closed db index /var/lib/rpm/Packages > error: cannot open Packages index using db3 - Operation not permitted > (1) > error: cannot open Packages database in /var/lib/rpm > [javauser@The_Big_Playhouse javauser]$
When using rpm to install or remove packages you need to run it as root. Try running the same command as root. Hope this helps. /jft -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list