I recently upgraded from an Intel Mac to an Apple Silicon Mac. When running
man ssh then hitting
Q in Terminal it throws the following error:
sh: /usr/bin/mandoc: Bad CPU type in executable
My guess is for some reason it transferred over that executable from my Intel Mac?
But when I try to rename that file or move it (even with
sudo), it says operation not permitted.
How can I fix this without installing Rosetta 2? The odds that someday Rosetta 2 will be removed are high (just like Rosetta 1). So I really want to fix the root problem as opposed to just installing Rosetta.