Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I recently bought a new macbook pro with Lion, had some problems and had it checked by Apple people. It was returned to me but the software update server seems to have been changed and will not update. How can I change to the official one? I would like to avoid the 2 hour drive. Thanks!!

share|improve this question
add comment

migrated from serverfault.com Oct 25 '11 at 3:06

This question came from our site for professional system and network administrators.

3 Answers

It depends on exactly how they changed the update server setting. If they did the obvious thing, this should delete the setting (so it'll go back to normal):

sudo defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

If that doesn't work, it's possible it's configured as a per-user (rather than system-wide) setting, in which case this should do it:

defaults delete com.apple.SoftwareUpdate CatalogURL
share|improve this answer
add comment

Before driving to the Apple technician, you can type the following Terminal command:

defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

This will tell the the URL that SoftwareUpdate is checking.

share|improve this answer
1  
Would you be willing to expand slightly on this? We are looking for good, in-depth answers. Perhaps you could include the steps needed to get to this point? –  bassplayer7 Feb 22 '13 at 1:53
    
On OS X 10.8.2, when testing the above answer, I get this error: The domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, CatalogURL) does not exist –  gosmond Feb 22 '13 at 4:39
    
@gosmond: that means that your computer will use the default -- Apple's servers. –  Gordon Davisson Feb 22 '13 at 5:34
    
@GordonDavisson, OK, then machead should make that clear in the answer, so that people who try the command aren't left scratching their heads by an apparent "error" in the output. –  gosmond Feb 22 '13 at 6:59
add comment

sudo defaults rm /Library/Preferences/com.apple.SoftwareUpdate then reboot

share|improve this answer
add comment

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.