apk-version: 8.2.0 > 8.2.001
readline package was recently upgraded to patchlevel 1, from pkgver=8.2.0
to pkgver=8.2.001
. However apk doesn't consider it to be an upgrade, b/c:
$ apk version -t 8.2.0 8.2.001
>
The apk sources say that "Leading zero digits get a special treatment", but don't elaborate.
As the result the last component gets token value -1 for single zero in "0" and -2 for two zeroes in "001" (with "1" left over as TOKEN_DIGIT
).
(xref: initially reported as aports#14668 (closed))