[Rpm-maint] rpm-4.9.0 --verifydb error message

Panu Matilainen pmatilai at laiskiainen.org
Fri May 13 12:40:59 UTC 2011


On 05/12/2011 06:50 PM, Michael Schroeder wrote:
>
> Hi, I get an "method not permitted before handle's open method"
> when I do a 'rpm --verifydb'. In verify mode, the db is not
> really opened, thus it's an error to call dbiFlags() which
> calls db->get_open_flags().
>
> Patch attached.

Applied, thanks for the patch. --verifydb /was/ working the last I 
checked but... Should add a testcase for it (it's such an oddball case 
that it tends to break by sneezing at it), or actually the more 
attractive option would be kicking the rather useless lowlevel BDB 
verify out and replace it with something that actually does a meaningful 
sanity-check of the rpmdb (index validity etc).

	- Panu -


More information about the Rpm-maint mailing list