dolphin_oracle wrote: Wed Aug 20, 2025 4:09 pm
its possible the heurstic for version comparison has a flaw.
I think .08 is coming up as not an upgrade over .8
because the same problem does not occur betwen 25.08.04 and 25.08.06. @fehlix using the August snapshot was key, because the problem wasn't showing up on my update-to-date system, nor on the 23.6 official release.
Probaly, b/c trying to re-invent in c++ what dpkg with "--compare-versions" offers, may look simple but can lead to wrong results,
if you want handle all potential cases debian package version number can be.
E.g this looks simple, a full re-implemtation for package version comparision is far from simple:
Code: Select all
dpkg --compare-versions "25.08.06" "gt" "25.8" && echo YES
YES
or this
Code: Select all
dpkg --compare-versions "25.08.06" "gt" "25.08" && echo YES
But not sure that's this is actually the issue, maybe it is. Or something else, b/c if I remember I have seen this occasionally but ignored,
similar to the OP.