Installation of jq on v3.6 with default mirror fails
With Alpine v3.6, APKINDEX of default mirror (dl-cdn.alpinelinux.org)
reports a 1.5-r3 version of jq package which is not found.
The 1.5-r4 version of jq can be found instead.
Steps to reproduce:
Using the Alpine Docker image to reproduce as follows:
$ docker run -it --rm alpine:3.6 sh
/ # apk add --update jq
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
(1/2) Installing oniguruma (6.3.0-r0)
(2/2) Installing jq (1.5-r3)
ERROR: jq-1.5-r3: package mentioned in index not found (try 'apk update')
1 error; 5 MiB in 12 packages
Workaround:
Configure apk to use a different mirror. For instance:
echo "http://uk.alpinelinux.org/alpine/v3.6/main" > /etc/apk/repositories \
&& echo "http://uk.alpinelinux.org/alpine/v3.6/community" >> /etc/apk/repositories
(from redmine: issue id 8857, created on 2018-05-02, closed on 2018-05-15)