Sub topic 10
When an update fails: diagnosis and fixes
This chapter assumes you can open Terminal and System Settings, have an administrator account, and have read the earlier chapters on preparation, installing, and the softwareupdate command. You will learn to sort a failed update into a small set of causes and to apply the least invasive fix first.
The working model
An update passes through three stages: it is downloaded, it is verified and staged, and then it is installed during a restart. A failure usually belongs to one stage. Finding the stage tells you where to look.
| Stage | Typical symptom | Common cause |
|---|---|---|
| Download | Stuck progress bar, "Unable to check for updates" | Unstable network, VPN or proxy, Apple server load |
| Verify and stage | "Not enough space" or a verification error | Low free storage, a damaged partial download |
| Install | Restart loop, "Installation failed" after reboot | Power loss, low battery, third-party kernel software |
Step 1: Check the basics
Most failures come from a few simple conditions. Check these before you try anything else.
- Connect to a stable network. Turn off any VPN and try again.
- Plug in the power adapter on a laptop.
- Make sure the Mac has the free space the update needs. Major upgrades often need many gigabytes of working room beyond the download itself.
- Restart the Mac and open Software Update again.
Check free space with df -h /, which you saw in the preparation chapter. The Avail column shows free space on the startup volume.
df -h /Step 2: Read the logs
If the basics do not help, read the installer log. The command below shows the last 20 Software Update entries.
grep -i softwareupdate /var/log/install.log | tail -n 20Look for words such as error, failed, timed out, or not enough space. A network error points to Step 1. A message about a failed signature or checksum usually means the partial download is damaged and should be discarded.
You can also confirm what did install with softwareupdate --history. If the update you wanted is missing from that list, it did not complete, even if the Mac restarted.
softwareupdate --historyStep 3: Retry from a clean state
Retry the update by a different route. If System Settings stalls, ask the command line what it sees.
softwareupdate --list
sudo softwareupdate --install --recommendedThe command-line tool often prints a clearer error than the graphical screen. It may ask for the password of an administrator. On Apple silicon, it may also need credentials for a user who can authorize system updates.
If a download keeps failing at the same point, a damaged partial download is likely. Restart, then open Software Update and let it fetch the update again. Do not delete system folders by hand to force this.
Step 4: Address specific causes
- Not enough space. Empty the Trash and remove large files you no longer need. Move files to an external drive. Run
df -h /again to confirm. - Update not offered. The Mac may not support that macOS version. Check the compatibility chapter. A supported Mac can also be offered an older update path first.
- Stuck on a managed Mac. A deferral or a management profile can hide an update. Ask the administrator who manages the Mac.
- Third-party software conflicts. Old security tools, drivers, or kernel extensions can block an install. Update or remove them, then retry.
- Restart loop or failure after reboot. Let the Mac finish. An install can take a long time, and interrupting it is the most common cause of damage. If it does not recover, start up into macOS Recovery and reinstall macOS from there. Reinstalling keeps your files and settings in the usual case, but you should still have a current backup.
Step 5: Verify the result
After a successful retry, confirm the version.
sw_versCompare the ProductVersion and BuildVersion values with what Software Update offered. Then check softwareupdate --history for the new entry.
Exercise
Software Update shows "Installation failed" after the Mac restarts. Name two commands you would run to find out whether the update installed and what went wrong, and say what you look for in each.
Show answer
Run softwareupdate --history to see whether the update appears in the installed list. If it is missing, the install did not complete. Then run grep -i softwareupdate /var/log/install.log | tail -n 20 and look for words such as error, failed, or not enough space near the time of the failure. That points to the cause: space, network, a damaged download, or an interrupted install.
Exercise
A download stalls at the same point on every attempt, and df -h / shows plenty of free space. What is the most likely cause, and what is a safe next step?
Show answer
A damaged partial download, or a network, VPN, or proxy problem. A safe next step is to turn off the VPN, restart the Mac, and let Software Update fetch the update again, or try softwareupdate --list and sudo softwareupdate --install --recommended to get a clearer error message.