version.dfsg
Hello,
Why is version 1.0.18a.dfsg considered OLDER than 1.0.18.dfsg?
$ dpkg --compare-versions 1.0.18a.dfsg-1 gt 1.0.18.dfsg-1 ; echo $?
1
If not adding the ".dfsg", the result is as expected (1.0.18a > 1.0.18) :
$ dpkg --compare-versions 1.0.18a-1 gt 1.0.18-1 ; echo $?
0
Is that a bug with version numbers which contain ".dfsg", or is it
that I don't understand something about versioning?
--
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
Reply to: