[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg compare version bug ??



Hi, 

When I try to compare 3.102 to 3.34, I get an incorrect answer as follows. 
dpkg --compare-versions 3.102 ge 3.34; echo $?
0

However, if I specify 3.34 as 3.340, I get the correct answer as follows:
dpkg --compare-versions 3.102 ge 3.340; echo $?
1

Is this a bug ? 

If this is not the correct list for this question, please let me know. 

Thanks,

-- 
View this message in context: http://www.nabble.com/dpkg-compare-version-bug----tp20448168p20448168.html
Sent from the Debian User mailing list archive at Nabble.com.


Reply to: