lua5.1-http requires non-existent package
When trying to install lua5.1-http
(possibly others) apk
complains
that there’s an unsatisfiable constraint being that the package
lua5.1-compat5.3
is missing. The correct package name is
lua5.1-compat53
(53 vs 5.3)
# apk add lua5.1-http
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
lua5.1-compat5.3 (missing):
required by: lua5.1-http-0.2-r0[lua5.1-compat5.3]
There is a workaround by installing the required package as a virtual package first
/ # apk add --virtual lua5.1-compat5.3 lua5.1-compat53
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/4) Installing lua5.1-libs (5.1.5-r7)
(2/4) Installing lua5.1 (5.1.5-r7)
(3/4) Installing lua5.1-compat53 (0.3-r1)
(4/4) Installing lua5.1-compat5.3 (0)
Executing busybox-1.28.4-r1.trigger
OK: 5 MiB in 17 packages
/ # apk add lua5.1-http
(1/8) Installing lua5.1-cqueues (20171014-r1)
(2/8) Installing lua5.1-basexx (0.4.0-r1)
(3/8) Installing lua5.1-fifo (0.2-r1)
(4/8) Installing lua5.1-lpeg (1.0.1-r4)
(5/8) Installing lua5.1-lpeg_patterns (0.4-r1)
(6/8) Installing lua5.1-ossl (20180530-r0)
(7/8) Installing lua5.1-bit32 (5.3.0-r1)
(8/8) Installing lua5.1-http (0.2-r0)
OK: 6 MiB in 25 packages
(from redmine: issue id 9491, created on 2018-09-29, closed on 2019-05-04)
- Changesets:
- Revision 1db3f3ea by Jakub Jirutka on 2018-10-07T19:23:54Z:
community/lua-http: fix wrong depend on lua5.[12]-compat5.3
Fixes #9491 (https://bugs.alpinelinux.org/issues/9491)
- Revision a2d8d722 by Jakub Jirutka on 2018-10-07T19:24:21Z:
community/lua-http: fix wrong depend on lua5.[12]-compat5.3
Fixes #9491 (https://bugs.alpinelinux.org/issues/9491)
- Revision 432c86f9 by Jakub Jirutka on 2018-10-07T19:24:57Z:
community/lua-http: fix wrong depend on lua5.[12]-compat5.3
Fixes #9491 (https://bugs.alpinelinux.org/issues/9491)