In /usr/bin/dpkg-realpath line 26: . "$PKGDATADIR/sh/dpkg-error.sh" ^----------------------------^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/dpkg-realpath line 52: local src="$1" ^-------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dpkg-realpath line 53: local root="$DPKG_ROOT" ^--------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dpkg-realpath line 54: local loop=0 ^--------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dpkg-realpath line 55: local result="$root" ^----------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dpkg-realpath line 56: local dst ^-------^ SC2039: In POSIX sh, 'local' is undefined. For more information: https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.