Very satisfying #FreeBSD problem-identification/solving just now.
Them: running `pkg install` as root refuses to run due to insufficient privileges
Me: Hmm, could you provide the output of these commands to determine which pkg is running and its extended attributes, whether it happens with pkg-static, status of mount points, and any extended attributes of the package database that might be read-only
Them: here's a screen-cap of those outputs
[output of mount(8) shows it's an ISO image, likely an installer boot image]
Me: Yep, there's your problem, you're in a read-only environment
๐