Description of Problem: rpm CLI segfaults on rpm --repackage Version-Release number of selected component (if applicable): rpm-4.0.3-1.03 How Reproducible: Always Steps to Reproduce: binand@binand[~]:(35) rpm --repackage Segmentation fault Additional Information: Default workstation install of redhat 7.2
Starting with a vanilla RH7.2 server install. Tried to apply a subset of updates using: rpm -Fvh *.rpm It got about 75% of the update packages installed, then started getting db errors. ran: rpm --rebuilddb segfault ran: rm /var/lib/rpm/__db* ran: rpm --initdb rpmdb:Overflowpage 1536 of invalid type ... whole pile of similar messages ending in db3 error(-30985) from db->verify ran: rpm --rebuilddb segfault ran: rpm -qa ... listed several dozen rpms up until glibc-common-2.2.4-13 then segfault Am I forced to reinstall from scratch and hope for something better? Or, is there a way to rebuild the entire rpm directory? This is a rather *critical* tool to be exhibiting these sorts of problems.
If you attach a pointer (i.e. URL, attachments won't work) to a tarball fo your database cd /var/lib tar czvf /tmp/rpmdb-58229.tar.gz rpm I'll see what I can save.
CLosed for lack of input. Please reopen with pointer to rpmdb tarball if this is still a problem.