Bug 11017 - Infinite loop in reponse to rpm -qa
Summary: Infinite loop in reponse to rpm -qa
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-24 17:16 UTC by Vladimir Vukicevic
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2000-05-28 02:37:58 UTC
Embargoed:


Attachments (Terms of Use)

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.


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