Summary: | emerge sees the ksambaplugin-0.4b as newer than ksambaplugin-0.4.2 | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Dan A. Dickey <dan.dickey> |
Component: | Unclassified | Assignee: | Nicholas Jones (RETIRED) <carpaski> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | gmsoft |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan A. Dickey
2003-04-14 10:54:28 UTC
This seems to be a problem in portage.best().
This is a easy way to reproduce it :
>>> portage.best(['net-www/lynx-2.8.4.1c', 'net-www/lynx-2.8.4a-r4',
'net-www/lynx-2.8.4.1d']);
'net-www/lynx-2.8.4a-r4'
The expected result is of course 'net-www/lynx-2.8.4.1d'
Lexigraphically, this is correct. 4b is more than 4 so... 0.4b > 0.4.2b > 0.4.2 Excuse me, but this *is* a bug. Despite what portage.best() says, ksambaplugin-0.4b is not newer than ksambaplugin-0.4.2. Perhaps the bug was misassigned and the bug is in the naming convention being applied in the ksambaplugin ebuilds? A nice solution for this would be to delete ksambaplugin-0.4b from the portage tree. I'd like to open this back up. Is there a standard way to force this? It would be nice not to have to watch out for these things. |