On install bash-5.1.4, some error appear: ---- 8< ------------- [9/9] Extracting bash-5.1.4: 100% pkg: Failed to execute lua script: [string "shell_path = pkg.prefixed_path("bin/bash")..."]:7: attempt to index a nil value (global 'shell') pkg: lua script failed ---- 8< ------------- Env info: freebsd-version -u : 11.4-RELEASE-p6 pkg -v : 1.15.10
It's a known bug in pkg, please see: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250926 *** This bug has been marked as a duplicate of bug 250926 ***