Bug 11017

Summary: Infinite loop in reponse to rpm -qa
Product: [Retired] Red Hat Raw Hide Reporter: Vladimir Vukicevic <vladimir>
Component: rpmAssignee: David Lawrence <dkl>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-28 02:37:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Vukicevic 2000-04-24 17:16:00 UTC
After installing the Rawhide rpm for rpm-3.1-0.7, I
ran into a problem with 'rpm -qa' -- namely it will
repeatedly list all the rpms in the database (i.e.
it will list everything in the database, and then
do it again, and again, ...).

An attempt at rebuilding the database failed for
similar reasons -- after waiting for some time after
starting 'rpm --rebuild' and watching the size of the
rebuilt database double the size of the original and
continue growing, I interrupted it and performed some
queries on the (albeit uncompleted) new database. Queries
for specific rpms (via 'rpm -q name') resulted in many
copies of the same rpm being reported (this does not
happen with the original database).

Comment 1 SB 2000-05-15 15:09:59 UTC
All versions of RPM after 2.1-0.3 are inherintly screwed up and can lead to

permanent database corruption and data loss, I recommend reinstalling the version

you were previously using.  Installing rpm 3.1-0.9 will result in an inability to

access your rpmbd and will core dump constantly so don't try to upgrade to solve

the problem, downgrading is the only solution.



-Stan Bubrouski

Comment 2 SB 2000-05-28 02:37:59 UTC
This problem is fixed as of rpm-3.1-0.21 and I strongly recommend you install
it, as it finally is able to convert old db formats to new format with rpm
--rebuilddb, and it is most stable 3.1 release of rpm I have seen ;)

-Stan Bubrouski

Comment 3 Jeff Johnson 2000-07-20 18:12:38 UTC
These problems have been fixed in the latest rpm-4.0-0.56 packages.