FS#21237 - Pacman incorrectly evaluates letters in package version
Attached to Project:
Pacman
Opened by Dan Vratil (progdan) - Wednesday, 13 October 2010, 19:59 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 13 October 2010, 20:06 GMT
Opened by Dan Vratil (progdan) - Wednesday, 13 October 2010, 19:59 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 13 October 2010, 20:06 GMT
|
Details
I just got this message from pacman:
warning: proftpd: local (1.3.3-5) is newer than extra (1.3.3b-1) Which is obviously incorrect. Seems to me that pacman ignores the letter in version and therefor it considers local package newer. |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 13 October 2010, 20:06 GMT
Reason for closing: Duplicate
Additional comments about closing: We have like 6 reports already.
Wednesday, 13 October 2010, 20:06 GMT
Reason for closing: Duplicate
Additional comments about closing: We have like 6 reports already.
When upgrading, pacman performs version comparison to determine which packages need upgrading. This behavior operates as follows:
Alphanumeric:
1.0a < 1.0alpha < 1.0b < 1.0beta < 1.0p < 1.0pre < 1.0rc < 1.0
Numeric:
1 < 1.0 < 1.1 < 1.1.1 < 1.2 < 2.0 < 3.0.0