RPM Community Forums

Mailing List Message of <rpm-devel>

Re: RPM 5 broken with DB 4.6!?

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sun 29 Jul 2007 - 17:42:49 CEST
Message-ID: <20070729154249.GA5979@engelschall.com>
On Sun, Jul 29, 2007, Ralf S. Engelschall wrote:

> [...]
> | $ /tmp/rpm/bin/rpm -e "gpg-pubkey-2039b291-3dbaae72"
> | error: ^2039b291$: regcomp failed:
> | error: package gpg-pubkey-2039b291-3dbaae72 is not installed
> [...]
> Please notice that until the erase operation everything was just fine.
> Then the key is not found (although correctly specified), the database
> is then locked and even after removing the locks the key is still not
> gone...

The error itself I've now fixed. Nevertheless I think there is still one
bug left: why is the database in an incorrect state if RPM successfully
catched an error and gracefully handled it? I expect no left locks in
the DB in such a situation. I expect left locks only if RPM 5 crashes!
Jeff, can you investigate on this remaining issue, please?

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Sun Jul 29 17:43:05 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.