On 26 Dec 2019 Fabrice BAUZAC-STEHLY wrote:
Version 7.5.3 is really considered newer than 7.5.3~deb10u1 (beware, it
is a tilde, not a dash):
# ge = "greater or equal"
$ dpkg --compare-versions 7.5.3 ge "7.5.3~deb10u1"; echo $?
0 # means "true"
Indeed, according to the Debian Policy [1]:
[1]
Hello Jason,
I think you are mistaken in the way version numbers are compared in
Debian.
Version 7.5.3 is really considered newer than 7.5.3~deb10u1 (beware, it
is a tilde, not a dash):
# ge = "greater or equal"
$ dpkg --compare-versions 7.5.3 ge "7.5.3~deb10u1"; echo $?
0 # means "true"
Package: reportbug-gtk
Version: 7.5.3~deb10u1
Severity: important
Dear Maintainer,
Reportbug (at least when using the GUI) is warning software is out-of-date even
when it's not. For instance, even filing this report, I got a pop-up dialogue
saying:
=
Your version (7.5.3~deb10u1) of
3 matches
Mail list logo