package: nginx-lua 1.8 missing?
#1
Thu, 2015-08-20 12:06
serbaut
-
- Offline
- 2 years 6 months ago
- 2015-08-20
http://pkgs.alpinelinux.org/package/main/x86_64/nginx-lua lists version 1.8 but when i install it I get 1.63:
$ docker run alpine apk --update fetch nginx-lua fetch http: //dl-4.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz Downloading nginx-lua-1.6.3-r2
This is due to the fact that v3.2 did not merge that feature fix. If you want latest & greatest packages, you'd want ot use the edge repository.
One way I did this (while keeping a mostly stable system) is to add an '@edge' repo (as well as '@testing')
Contents of /etc/apk/repositories:
You would then do
to get it installed.If I recall right, any dependencies it has that are not in the 'main' repository will be pulled in with the @edge prefix, else you get the stable one that meets the version requirements.
I suspect this answer is also relevant to many other threads about an update being indicated but missing from people's attempt-to-update.
Thank you!
Noticed you could specify repository with -X:
$ docker run alpine apk --update -X http://dl-4.alpinelinux.org/alpine/edge/main fetch nginx-lua
fetch http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
fetch http://dl-4.alpinelinux.org/alpine/v3.2/main/x86_64/APKINDEX.tar.gz
Downloading nginx-lua-1.8.0-r5