From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) Description of problem: I was attempting to upgrade gcc and glibc. the packages upgraded, but now whenever i try to work with rpm, it segfaults at the end of the install without installing the package (to my knowledge). I saw something about a corrupt database but i've rebuild my rpmdb multiple times with no solution. Version-Release number of selected component (if applicable): rpm-4.0.4 How reproducible: Always Steps to Reproduce: 1. install/remove/update package via rpm 2. 3. Actual Results: segfault Expected Results: removed/installed/upgraded package. Additional info: [root@megatron build-openssh-3.6.1]# rpm -evv printconf > rpm-segfault D: opening db environment /var/lib/rpm/Packages create:mpool D: opening db index /var/lib/rpm/Packages mode=0x82 D: locked db index /var/lib/rpm/Packages D: opening db index /var/lib/rpm/Name mode=0x82 D: ========== --- printconf-0.3.77-1 D: opening db index /var/lib/rpm/Requirename mode=0x82 D: opening db index /var/lib/rpm/Basenames mode=0x82 D: erase: printconf-0.3.77-1 has 117 files, test = 0 Segmentation fault [root@megatron build-openssh-3.6.1]#
Please supply pointer (i.e. URL, attachments won't work) to tarball of your database: cd /var/lib tar czvf /tmp/rpmdb-100732.tar.gz rpm and I will try to get you a fix.
I have the exact same problem. Same versions of Red Hat and RPM. Here is the URL to a tarball of my rpm database: http://osl-www.colorado.edu/~stpierre/rpmdb-100732-jasp.tar.gz