Related Article Said:
"'Sudo apt update' can't execute on my Mac mini M1 terminal"
--------
Restore from a Time Machine Backup:
Did you back up your Mac prior to getting this issue? If so, save you data to an external device, and then restore from the backup, seeing if that fixes this. This is a pure example of why to backup your Mac prior to any major change to your system (update being such a change). How to Use Time Machine: Create a Time Machine backup of your Mac, so that you can have something to restore your Mac from, should anything go wrong with the reinstall.
If that is of no option, then..
Isolate the Issue:
- Reset the SMC and NVRAM: Restarting your Mac and then reseting your SMC and NVRAM.
- Create a New Administrator: (Go to: System Preferences > Users & Groups).,Sign into it and see if this still occurs. If not, then it is something configured in your current user. So, transfer all your files to the new user, rid of this current user, and use the new user from then on. You should be set to go.
- Boot into Safe Mode: If of no success, then boot into Safe Mode (Hold Down: Shift key upon boot). Caches and all other unnecessary items are put aside when logging it. So, see if this still occurs.