Red Hat Bugzilla – Bug 102971
rpm Segmentation Fault
Last modified: 2007-04-18 12:57:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.1; Linux)
Description of problem:
Hello, found a few bugs with similar problems, yet I can't get any solution to work. After I had installed a rpm package, webmin 1.050-1, the installation went okay, but as soon as I tried to install another rpm package (mysql server) it crashed. So then I tried to query to do rpm -qa and it reported the following
[root@localhost rpm]# rpm -qa
so then I went to the rpm webpage and ran through the hints section to try and rebuild the db using the page listed and when I ran the db verify it came up with this
[root@localhost rpm]# /usr/lib/rpm/rpmdb_verify Packages
db_verify: Page 3359: overflow page of invalid type 0
db_verify: DB->verify: Packages: DB_VERIFY_BAD: Database verification failed
anyway so then I tried the step of backing up my package listings and then do a dump then a load and it "worked", followed by the rpm -qa again
the same error as above.
I'll post a tar backup of my database at
or if there is a utility that will allow me to view the inner workings of my rpmdatabase I could remove the record for webmin, but I dunno
Version-Release number of selected component (if applicable):
rpm-4.2 kernel 2.4.20
Steps to Reproduce:
D: adding 11 entries to Filemd5s index.
D: read h# 546 Header sanity check: OK
D: +++ h# 5 Header sanity check: OK
D: adding "webmin" to Name index.
D: adding 9572 entries to Basenames index.
D: adding "System/Tools" to Group index.
D: adding 4 entries to Requirename index.
D: adding "" to Providename index.
D: adding 573 entries to Dirnames index.
D: adding 4 entries to Requireversion index.
D: adding "" to Provideversion index.
D: adding 1 entries to Installtid index.
D: adding 1 entries to Sigmd5 index.
forgot here is the error from rpm -vv --rebuilddb
Hmmm, you have a screwed up rpmdb, duh.
Looking, maybe I can resurrect, news at 11.
Look for rpmdb-102971.tar.gz at ftp://people.redhat.com/jbj
in ~20 minutes.
Install by doing
mv Packages Packages-DELETE
tar xzvf rpmdb-102971.tar.gz
rpm --rebuilddb -vv
Can you also append any details about how webmin was installed? Thanks.
Hmmm, the file is actually rpmdb-102971-FIX.tar.gz, adjust procedure
Thanks it seems to be working well now. As too how the install for webmin went,
I can't be sure since it was about 2 weeks ago, but there was a
error/connection failure when I was trying to install webmin remotely over ssh,
dunno if that could have done it but its my old install of Linux updated and I
am a newb :)