Can't install libcrypto or libssl, BAD signature
This is happening on edge
Steps to reproduce:
<code class="bash">
docker run -t -i alpine:edge sh
apk add libcrypto1.0 libssl1.0
</code>
Result:
<code class="bash">
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(1/2) Installing libcrypto1.0 (1.0.2o-r0)
ERROR: libcrypto1.0-1.0.2o-r0: BAD signature
(2/2) Installing libssl1.0 (1.0.2o-r0)
ERROR: libssl1.0-1.0.2o-r0: BAD signature
2 errors; 4 MiB in 13 packages
</code>
(from redmine: issue id 9069, created on 2018-07-09, closed on 2019-05-04)
- Changesets:
- Revision ab1f1121 by Jakub Jirutka on 2018-07-09T22:01:56Z:
main/openssl1.0: rebuild
I've renamed the aport in commit 2fdc8bcc6549290b131675ef42d52243c37f3879
and so resetted pkgrel to 0. The problem is that the name of subpackages
libcrypto1.0 and libssl1.0 (intentionally) remained unchanged - they
already contain the version suffix. So for them the pkgrel was
effectively decreased, which I did not realize. :(
Fixes #9069 (https://bugs.alpinelinux.org/issues/9069)