Dup Goto 📝

Deleting Old Installers

PT2/macos/admin macos admin 12-05 19:47:15
To Pop
13 lines, 100 words, 654 chars Tuesday 2023-12-05 19:47:15

I had the problem that two installers for Macos were in the Trash, but couldn't be deleted.\ Trying to delete from the command line with sudo just yielded an Operation not permitted error.

The soluction came from this apple discussion

  1. Reboot into Recovery (reboot and hold down Apple-R until you see the Apple logo)
  2. Open a Terminal (Utilties menu)
  3. Type csrutil disable to disable the System Integrity Protection that is blocking deleting the installers.
  4. Reboot
  5. Empty Trash
  6. Reboot into Recovery again
  7. Open a Terminal
  8. Type csrutil enable to re-enable SIP
  9. Reboot.