You are not logged in.
Bug 1 — First install: luarocks-admin is not found in PATH because the script runs before the newly installed binary is available:
/tmp/alpm_XpVSz3/.INSTALL: line 9: luarocks-admin: command not foundBug 2 — Subsequent installs: The script checks for the existence of /usr/lib/luarocks/rocks-5.1/ (which exists if e.g. lua51-lpeg is installed) but does not verify that the
corresponding interpreter /usr/bin/lua5.1 exists:
sh: line 1: /usr/bin/lua5.1: No existe el fichero o el directorioThe relevant section of the post-install script:
for LUAVER in 5.{1,2,3,4,5}; do
local tree="/usr/lib/luarocks/rocks-$LUAVER/"
if [[ -d "$tree" ]]; then
luarocks-admin --lua-version "$LUAVER" make_manifest --local-tree "$tree"
fi
doneThe fix should also check that the interpreter exists:
if [[ -d "$tree" ]] && command -v lua$LUAVER &>/dev/null; thenPackage: lua-luarocks 3.13.0-4 (extra repo)
Offline