Very satisfying 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

๐Ÿ˜Ž

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.bsd.cafe/users/gumnos/statuses/116223366351760139 on your instance and quote it. (Note that quoting is not supported in Mastodon.)