[Yum] pkgpolicy configuration parameter

Mihai T. Lazarescu mihai at email.it
Wed Feb 4 18:43:59 UTC 2004


On Wed, 4 Feb 2004, seth vidal wrote:

> On Wed, 2004-02-04 at 18:37 +0200, Jari Ristiranta wrote:
> > When using pkgpolicy=last in yum.conf, why in earth are the servers sorted
> > alphabetically by [serverid]? In my opinion, sorting by the actual order
> > of the server sections in yum.conf would be a better way.
> 
> b/c the actual order in the config file cannot be returned by
> configparser. It returns them in an arbitrary order.

It may help saving the line number in the data structure
along with the data retrieved from the config file and sort
the entries by that.  Would it be too difficult to implement?

Just a thought...

Mihai



More information about the Yum mailing list