Problem description:
Mac has a function "Automatically keep my mac up to date". If we turn on this function, then Mac will release a new system from Apple Automatically download and install the macos system when versioning. However, we may encounter such a problem. During the process of upgrading a larger patch, the patch installation may fail, prompting: "An error occurred while installing the selected update." Why does this happen? How should you deal with this situation?
Cause analysis:
The system interrupted the download during the process of downloading the patch, that is, the completed patch package was not downloaded. The specific reason is that Apple has fully enabled a system integrity protection technology called System Integrity Protection (SIP) in 10.11, resulting in many unsigned third-party kexts and modified original kexts being unable to be loaded and used, and most system files It cannot be modified directly even under the root user. Therefore, you need to temporarily turn off this SIP function before you can continue to complete the system update.
Solution:
1. Turn off the SIP function
Shut down the mac, press the power button and press the "command R" key at the same time until the Apple logo and progress bar appear on the screen Then release it and the system enters Recovery mode.
Open the terminal under "Utilities" (there is an option to reinstall macOS below, but the error is still reported after the operation).
Enter the csrutil disable command, turn off the SIP function and then restart it (by default, csrutil is in the enabled state, and you can use the csrutil status command to query the csrutil status).
After restarting the mac, in System Preferences-Software Update, after clicking the update operation, the mac will automatically continue to download the previously unfinished system patches. It will be installed automatically after the download is complete.
Enter the Recovery mode using the same method, open the terminal and enter the csrutil enable command, turn on the SIP function and then restart the mac to complete the macOS upgrade (it is best to set csrutil to the enable state) mac self-protection).
Related recommendations: macos system
The above is the detailed content of What to do if Mac fails to update system version. For more information, please follow other related articles on the PHP Chinese website!