Bug 7103

Summary: topological sort for queries
Product: [Retired] Red Hat Linux Reporter: kestes
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: aleksey, mitr
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-28 19:46:21 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 kestes 1999-11-18 16:57:10 UTC
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 23:16:59 UTC
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 13:46:04 UTC
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 19:46:21 UTC
Implemented in rpm-4.4, packages available at
    ftp://ftp.jbj.org/pub/rpm-4.4