Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66192 - Wrong version order in package summary
Summary: Wrong version order in package summary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Albert Hopkins (RETIRED)
URL: http://packages.gentoo.org/packages/?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-03 01:58 UTC by Luca Santarelli
Modified: 2005-02-12 13:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A screenshot of the wrong ordering for the package net-dns/dnsmasq (wrongOrdering.jpg,81.06 KB, image/jpeg)
2004-10-03 01:59 UTC, Luca Santarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Santarelli 2004-10-03 01:58:12 UTC
Packages are badly sorted, I suppose the sorting algorithm takes into account single digits instead of the version numbers.

Example (see attached screenshot): the versions of dnsmasq are sorted in the following order:
2.9
2.8 (8 < 9)
2.5 (5 < 8)
2.15 (1 < 5, but 15 > 9!)
2.10 (10 < 15, but 10 > 9!)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
 

Expected Results:
Comment 1 Luca Santarelli 2004-10-03 01:59:49 UTC
Created attachment 40969 [details]
A screenshot of the wrong ordering for the package net-dns/dnsmasq
Comment 2 Matthias Geerdsen (RETIRED) gentoo-dev 2004-10-05 04:55:37 UTC
Order is incorrect for release candidate ebuilds with _rc appended too. For example http://packages.gentoo.org/packages/?category=dev-php;name=php
where 4.3.9_rc1 is listed above 4.3.9, which would actually be the more recent version.
Comment 3 Albert Hopkins (RETIRED) gentoo-dev 2005-02-12 13:51:05 UTC
Has been fixed for a while.  Using portage libs to sort list.