Reset OS X Software Update server
My Software Update is broken. I had tried to set it to update from my OS X server (server.local) (instead of pulling from Apple) to save bandwidth, but was never able to get it working. Now when I run Software Update, I get:
The Software Update Server (server.local) is not responding.
Check to make sure your network connection is operating normally. If there are no issues with your connection, contact your network administrator for assistance.
I've tried resetting it back to the default location by doing:
defaults write ~/Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://swscan.apple.com/content/catalogs/index-1.sucatalog"
and
defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://swscan.apple.com/content/catalogs/index-1.sucatalog"
but it still gives the same error.
I've also tried using the Software Update Enabler which had no effect.
I'm was running Leopard when I first encountered this problem. I've since upgraded to Snow Leopard but that had no effect on this issue.
Solution 1:
Deleting /Library/Preferences/com.apple.SoftwareUpdate.plist
should be all you need, but it's possible that the settings lives in ~/Library/Preferences/com.apple.SoftwareUpdate.plist
as well or even via MCX (Managed Client for Mac OS X). You can check the MCX settings by running sudo mcxquery -user shortusername | grep Update
Solution 2:
markratledge has the command right, but it needs to be run with super user privileges. To do this, copy and paste this exact command into a terminal window:
sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
It will prompt you for an Administrator password and will complete without any confirmation.
Solution 3:
This hint - 10.6 Server: Set the appropriate Software Update Server - says there are now three different update catalogs between 10.4, 10.5 and 10.6; and it also gives a different shell script to delete the existing catalogURL back to default:
defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL