Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   RPM Package Manager (http://www.linux-archive.org/rpm-package-manager/)
-   -   does 'rpm -qa' yield a tsort of packages? (http://www.linux-archive.org/rpm-package-manager/109254-does-rpm-qa-yield-tsort-packages.html)

Brian Reichert 06-18-2008 07:43 PM

does 'rpm -qa' yield a tsort of packages?
 
Does 'rpm -qa' yeild a topological sort of the the packages?

More specifically, should 'rpm -qa' yield the same results as the
rpm/python ts.tsort() method?

--
Brian Reichert <reichert@numachi.com>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large

_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list

Vladimir Mihai Pacuraru 06-19-2008 04:08 PM

does 'rpm -qa' yield a tsort of packages?
 
2. does 'rpm -qa' yield a tsort of packages? (Brian Reichert)
Subject:
does 'rpm -qa' yield a tsort of packages?
From:
Brian Reichert <reichert@numachi.com>
Date:
Wed, 18 Jun 2008 15:43:15 -0400
To:
rpm-list@redhat.com

To:
rpm-list@redhat.com


Does 'rpm -qa' yeild a topological sort of the the packages?

More specifically, should 'rpm -qa' yield the same results as the
rpm/python ts.tsort() method?


What's wrong with calling rpm -qa | sort (usually a less is also
required as the list is really way too long).


Vlad

_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list

Nigel Metheringham 06-19-2008 04:23 PM

does 'rpm -qa' yield a tsort of packages?
 
On 19 Jun 2008, at 17:08, Vladimir Mihai Pacuraru wrote:
What's wrong with calling rpm -qa | sort (usually a less is also
required as the list is really way too long).



Mostly that tsort (topological sort) bears pretty much no relation
to an alphabetical sort.

It might be possible to use the tsort shell command (for systems
that carry it) if you made rpm out the dependancy data in an appropriate
fashion, but it wouldn't work as is.

Nigel.
--
[ Nigel Metheringham Nigel.Metheringham@InTechnology.com ]
[ - Comments in this message are my own and not ITO opinion/policy - ]

_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list

"Jeff Johnson" 06-21-2008 06:52 PM

does 'rpm -qa' yield a tsort of packages?
 
On Thu, Jun 19, 2008 at 12:23 PM, Nigel Metheringham <nigel.metheringham@dev.intechnology.co.uk> wrote:



On 19 Jun 2008, at 17:08, Vladimir Mihai Pacuraru wrote:


What's wrong with calling rpm -qa | sort (usually a less is also required as the list is really way too long).






Mostly that tsort (topological sort) bears pretty much no relation

to an alphabetical sort.

WIth rpm-5.0 (and implemented several years ago, perhaps 4.4.3 I forget),there is a -T option that will emit topologically sorted queries for several
forms of queries, certainly for rpm -qpT *.rpm.
73 de Jeff*
_______________________________________________
Rpm-list mailing list
Rpm-list@redhat.com
https://www.redhat.com/mailman/listinfo/rpm-list


All times are GMT. The time now is 06:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.