Bug 52064 - rpm dumps core on any command (pretty much identical to Bug #47708)
Summary: rpm dumps core on any command (pretty much identical to Bug #47708)
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL: www.schoener.net/rpmdb.tar.gz
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-20 09:09 UTC by Need Real Name
Modified: 2007-04-18 16:36 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Need Real Name 2001-08-20 09:09:16 UTC
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 15:13:57 UTC
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 16:35:18 UTC
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 17:11:54 UTC
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.