On Fri, Apr 30, 2004 at 01:53:12PM -0700, Christian Goetze wrote: > >> cd /var/lib/rpm > >> /usr/lib/rpm/rpmdb_stat -Co > > > > I do not seem to have rpmdb_stat. This is RH 8.0, rpm version 4.1 > > -- > > cg > > [root@assam rpm]# rpm -q rpm-devel > rpm-devel-4.1-1.06 > [root@assam rpm]# rpm -ql rpm-devel | grep rpmdb_stat > [root@assam rpm]# > > sorry - but thanks anyway. I'll try to find it in one of the newer > versions... rpmdb_stat is just a clone of /usr/bin/db_stat from the db4-utils package. Use that instead if you want to see whether you have a stale lock (you do). Or just do rm -f /var/lib/rpm/__db* to nuke the stale lock. And upgrade to (at least) rpm-4.1.1 (for RHL 8.0) or rpm-4.2 (for RHL 9) to fix the problem. The reproducer is rpm -qa | less and exit early (i.e. SIGPIPE not handled correctly leaves a stale lock). 73 de Jeff -- Jeff Johnson ARS N3NPQ jbj@xxxxxxxxxx (jbj@xxxxxxx) Chapel Hill, NC _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list