rpm segfaults during the removal of these two rpms. command: # rpm -e jclasslib Please have a look at the logfile attached.
Created attachment 326135 [details] strace output of the command
I tried to rebuild the rpmdb but that didn't solve the problem
Neither package is in Fedora, you're talking about the packages from http://www.ej-technologies.com/ right? The packages are built with some "creatively" modified rpm apparently but no excuse for crashing, will fix...
Yes you're right the package is from ej-technologies.com. I installed them with fc9, after upgrading to fc10 rpm/yum segfaults and I'm not able to get rid of the packages anymore. Tanks for help in advance.
Ok, thanks for confirming that. This is now fixed upstream, along with some other issues caused by the weirdo packages, will be in Fedora shortly. In the meanwhile, you can probably get rid of the packages by using --noscripts option as a workaround.
The weirdo packages are quite strange, not produced by any rpmbuild I'm aware of because missing RPMTAG_RPMVERSION and RPMTAG_SPURCEPACKAGE tags. The lack of RPMTAG_SOURCEPACKAGE also prevents header from being registered in rpmdb @rpm5.org, so --erase segfaults are (by definition) impossible. Perhaps jrpm produced ... And LSB also has its own speshul perl script to produce *.rpm packages that have randomly missing tag content. So much for "standard" RPM packaging, software distribution will sink back into tar/cpio archives instead of packages Real Soon Now imho.
Thanks god the --noscript option made my day :-) Thanks for the quick help!!
rpm-4.6.0-0.rc3.1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/rpm-4.6.0-0.rc3.1.fc10
rpm-4.6.0-0.rc3.1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update rpm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2008-11332
rpm-4.6.0-0.rc3.1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.