Bug 52064 - rpm dumps core on any command (pretty much identical to Bug #47708)
rpm dumps core on any command (pretty much identical to Bug #47708)
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
www.schoener.net/rpmdb.tar.gz
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-20 05:09 EDT by Need Real Name
Modified: 2007-04-18 12:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-20 05:09:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-08-20 05:09:16 EDT
Description of Problem:

Just like #47708: I installed a package using Kpackage, following that, my
database must have gotten trashed. Neither kpackage, nor rpm will work. rpm
-rebuilddb seg faults, as does rpm -qa (following the qt-designer package).
Attempt to install rpm 4.0.3 failed similarly. I attached a pointer to my
zipped /var/lib/rpm directory as an URL.
Version-Release number of selected component (if applicable):
4.0.2 on RH 7.1

How Reproducible:
Always

Steps to Reproduce:
1. enter any rpm command
2. 
3. 

Actual Results:
segmentation fault

Expected Results:


Additional Information:
contained in the archive...


Thanks for your help...
Comment 1 Jeff Johnson 2001-08-20 11:13:57 EDT
Try installing rpm-4.0.3 using rpm2cpio
	mkdir /var/tmp/xxx
	cd /var/tmp/xxx
	rpm2cpio rpm-4.0.3-*.rpm | cpio -dim
	find . -type d -exec chmod 755 {} \;
	tar cf - . | (cd /; tar xvf -)
and then doing "rpm --rebuilddb -vv"

Don't forget to reinstall the rpm packages afetrwards so that
the entries in the database reflect what is on the file system.

Reopen this bug if the above does not bring you joy.
Comment 2 Need Real Name 2001-08-20 12:35:18 EDT
Thanks, this fixed it. At least rpm works fine, now. As for kpackage, it 
refuses to launch:

[root@Tweety download]# kpackage
kpackage: error while loading shared libraries: /usr/lib/librpm.so.0: 
undefined symbol: fpHashFunction
[root@Tweety download]#

If you have any thoughts on how I might get that front-end fixed, I'd love to 
hear them.

Many thanks for the fix.

Matthias

Comment 3 Jeff Johnson 2001-08-20 13:11:54 EDT
Yup. Either downgrade rpm to rpm-4.0.2 or upgrade kpackage to rpm-4.0.3.

Note You need to log in before you can comment on or make changes to this bug.