Package: lua-http Version: 0.4-1
Package: lua-lpeg-patterns Version: 0.4-1.1 Package: lua5.3 Version: 5.3.6-2 Issue: Using Debian bookworm with lua5.3, lua-http for lua5.3 requires lua-lpeg-patterns, configured as dependency >=0.3, but lua-lpeg-patterns is not compatible with lua-5.3, only 5.1 and 5.2. So the situation is that both packages are already installed as dependencies indicated, but LUA program with lua-http and interpreter 5.3 doesn't find lua-lpeg-patterns files. error: Failed to execute lua script: /usr/local/skudonet/config/ipds/waf/sets/lua-test.lua (main) - /usr/share/lua/5.3/http/request.lua:2: module 'lpeg_patterns.http' not found: no field package.preload['lpeg_patterns.http'] no file '/usr/local/share/lua/5.3/lpeg_patterns/http.lua' no file '/usr/local/share/lua/5.3/lpeg_patterns/http/init.lua' no file '/usr/local/lib/lua/5.3/lpeg_patterns/http.lua' no file '/usr/local/lib/lua/5.3/lpeg_patterns/http/init.lua' no file '/usr/share/lua/5.3/lpeg_patterns/http.lua' no file '/usr/share/lua/5.3/lpeg_patterns/http/init.lua' no file './lpeg_patterns/http.lua' no file './lpeg_patterns/http/init.lua' no file '/usr/local/lib/lua/5.3/lpeg_patterns/http.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns/http.so' no file '/usr/lib/lua/5.3/lpeg_patterns/http.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './lpeg_patterns/http.so' no file '/usr/local/lib/lua/5.3/lpeg_patterns.so' no file '/usr/lib/x86_64-linux-gnu/lua/5.3/lpeg_patterns.so' no file '/usr/lib/lua/5.3/lpeg_patterns.so' no file '/usr/local/lib/lua/5.3/loadall.so' no file './lpeg_patterns.so' code: local http_request = require "http.request" local headers, stream = assert(http_request.new_from_uri("http://example.com "):go()) local body = assert(stream:get_body_as_string()) if headers:get ":status" ~= "200" then error(body) end print(body) Regards!