Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 7103 - topological sort for queries
topological sort for queries
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 1999-11-18 11:57 EST by kestes
Modified: 2007-04-18 12:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-28 15:46:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description kestes 1999-11-18 11:57:10 EST
It would be very helpful if 'rpm -qa' (and all queries)
would return the packages in a topological order.
That is the list  of package would come back
in an order which is valid for installing.
The order would respect the dependencies implicit
in the packages.
Comment 1 Stephen John Smoogen 2003-01-23 18:16:59 EST
Is this practical to do inside of RPM or creating a helper program that uses
rpmlib or similar tools?
Comment 2 Jeff Johnson 2003-01-24 08:46:04 EST
This is doable ina any number of ways, but, since
it's a FAQ, needs to be done on the CLI too.
Comment 3 Jeff Johnson 2004-10-28 15:46:21 EDT
Implemented in rpm-4.4, packages available at

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