FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > RPM Package Manager

 
 
LinkBack Thread Tools
 
Old 06-18-2008, 07:43 PM
Brian Reichert
 
Default 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
 
Old 06-19-2008, 04:08 PM
Vladimir Mihai Pacuraru
 
Default 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
 
Old 06-19-2008, 04:23 PM
Nigel Metheringham
 
Default 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
 
Old 06-21-2008, 06:52 PM
"Jeff Johnson"
 
Default 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
 

Thread Tools




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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org