Hi,

On Wed, May 07, 2025 at 02:19:48AM -0300, Leandro Cunha wrote:
> Hi,
> 
> I insisted on my intuition, which said that the versioning was wrong,
> and checked with dpkg, which confirmed it. This has already been fixed
> in my Salsa fork. Sorry.
> 
> dpkg --compare-versions 5.21.14-0.1+deb12u1 lt 5.21.14-1
> echo $?
> 0 (true)
> dpkg --compare-versions 5.21.14-1.1+deb12u1 lt 5.21.14-1
> echo $?
> 1 (false)
> 
> lt: less than
> Example: dpkg --compare-versions 1.0 lt 2.0 → true
> 
> le: less than or equal
> Example: dpkg --compare-versions 1.0 le 1.0 → true
> 
> eq: equal
> Example: dpkg --compare-versions 1.0 eq 1.0 → true
> 
> ne: not equal
> Example: dpkg --compare-versions 1.0 ne 2.0 → true
> 
> ge: greater than or equal
> Example: dpkg --compare-versions 2.0 ge 1.0 → true
> 
> gt: greater than
> Example: dpkg --compare-versions 2.0 gt 1.0 → true

The base version in bookworm is 5.21.4-1, as such for the updatre
please use 5.21.4-1+deb12u1 (not 5.21.4-1.1+deb12u1) (but retain the
non-maintainer upload item in debian/changelog).

Regards,
Salvatore

Reply via email to