Cannot apply ANY OS X system updates via App Store

Discussion in 'OS X Yosemite (10.10)' started by Mactabulous, Jan 28, 2015.

  1. Mactabulous macrumors member

    Joined:
    Dec 23, 2011
    #1
    I am, and have been for the last few months, completely unable to install ANY OS X related system updates via App Store. Firstly, I'm often presented with the following pop-up error, stating: "An error has occured. Can't load data from the Apple Software Update Server".

    Secondly, when I hit the Update button for any of these OS X related system updates, it momentarily shows the progress bar, but then it reverts to it's default state by showing the Update button again. Apparently it fails to even start the download, and much less apply it.

    Lately I have resorted to manual downloads, so there's always that. Ideally I'd like to have the App Store function properly. Other updates to Apple applications or third-party developers install as they should. Any system updates, however, simply do not install from within the App Store.

    I have tried resetting the App Store and a couple of other hints I found online, but the issue prevails like the plague. Any help would be greatly appreciated!
     
  2. simonsi macrumors 601

    simonsi

    Joined:
    Jan 3, 2014
    Location:
    Auckland
    #2
    Can you re-install the OS by having someone else download an installer or do you have a backup from when it was working?

    What else have you tried?
     
  3. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #3
    I can do a clean install, of course (I have the Yosemite install file tucked away somewhere). If it can be avoided, that'd be great. But as a last resort, sure.

    I have followed a few tips online that suggested deleting a couple of plist files in conjunction with resetting the App Store (in user Library). None of these tips were specifically linked to my issue, and none of them resolved it. It was worth a shot, I figured. I have yet to find a similar case posted online (that's not to say that it doesn't exist, but I certainly haven't found one, yet).
     
  4. JonLa macrumors 6502

    Joined:
    Dec 22, 2009
    #4
    Might sound stupid, but have you accepted the latest terms and conditions, verified your payment method, etc etc. You should get pushed to either of these when you try to make a purchase but sometimes it fails, and I don't think clicking update automatically does it...
     
  5. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #5
    When it comes to this, nothing is stupid. Thanks, I'll look into that. I did manually log via App Store a few days ago, but I was not redirected to any new term and conditions.
     
  6. Donfor39 macrumors 6502a

    Donfor39

    Joined:
    Jul 26, 2012
    Location:
    Lanarkshire Scotland
    #6
    app store

    account info

    reset all warnings for buying and downloading....does that maybe help

    as said previously check you have valid payment info
     
  7. JonLa macrumors 6502

    Joined:
    Dec 22, 2009
    #7
    Try "buying" a new free app and see if it happens.
     
  8. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #8
    Try this:
    In terminal, either copy and paste the following, or type it in. (the last character is a lower case L.)
    Code:
    sudo softwareupdate -l
    Enter your admin account password when prompted. This runs the command line Software Update app (which is what the App Store application is actually doing) and should provide a little more detail. The lower case L only lists the updates available. If you want to go ahead and install all the updates that it finds, you'd enter:
    Code:
    sudo softwareupdate -ia
    again entering your password if prompted, and restarting the computer when prompted.
    You may also want to enter this:
    Code:
    defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL
    This error sounds as if your computer may not be looking at the default Software Update Server, and this last command will report which server it's set to use.
     
  9. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #9
    At least the commands work, sort of. It's capable of listing available downloads, but when running the install command, I get this in Terminal:

    I verified/repaired disk permissions yesterday, so everything should be in order.

    I have also verified correct payment information and reset warnings in App Store.
     
  10. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #10
    I forgot to mention that the last command doesn't work unless I remove "CatalogURL" from the string. And in doing so, I guess the command is not doing what was intended. I get this error when using the full command:

    2015-01-29 03:23:08.536 defaults[2278:764248]
    The domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, CatalogURL) does not exist

    Don't know why, but the output places a comma between com.apple.SoftwareUpdate and CatalogURL.
     
  11. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #11
    That's fine, it's what it should do if nothing is set there.
    Most likely there is a temporary file in /private/var/folders which can't be overwritten and is blocking your updates. Try running the command line install command with Console running to see if you can identify the issue with more detail.
     
  12. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #12
    Thanks for following up, I really appreciate that. Here's Console:

    Some of these entries are shown multiple times with different time signatures, so I chose the first of every instance in that case. Not sure if every entry is relevant to App Store. Furthermore, Terminal did not give any errors this time, it just reverted to the default $
     
  13. chrfr, Jan 29, 2015
    Last edited: Jan 29, 2015

    chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #13
    Yes, the cache.plist is a very likely place to start. You may be able to get rid of it by starting the computer in "Safe Boot" by holding the shift key through the startup process, otherwise you'll need to manually remove it.
    EDIT: no, that isn't part of software update. Look in /private/var/folders/zz/ to see what else is in there.
    You can also filter Console on software update to see if it makes anything clearer.
    2nd edit: note that the problem is not the App Store app, but rather the background softwareupdate process that the App Store app initiates.
     
  14. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #14
    Will deleting it suffice? Either in Finder or using the rm command? No matter, it's gone. Time to restart :)
     
  15. Mactabulous, Jan 29, 2015
    Last edited: Jan 29, 2015

    Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #15
    Alright. Inside zz there are some 24 randomly named folders (and within those a plethora of some possibly several hundred folders altogether). What exactly am I looking for? Needle in the haystack!

    Edit: I think I have located the "main" Software Update folder inside zz, but I have no clue what actions to take or how to meaningfully convey what's inside the folders without creating a lightyear long post.
     
  16. legaleye3000 macrumors 65816

    Joined:
    Jul 31, 2007
  17. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #17
    For my part, I'll probably be doing a clean install to resolve this. I've also tried installing the OS X 10.10.2 update manually, but even that won't install (the computer reboots without installing the update). Seems I have a major issue somewhere.
     
  18. legaleye3000 macrumors 65816

    Joined:
    Jul 31, 2007
    #18
    I did a clean install when 10.10.1 came out... Sucks having to do a clean install anytime updates come out. Other updates also won't install.
     
  19. Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #19
    Interesting. I have no issues with third-party updates. The plot thickens.
     
  20. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #20
    Third party (and Apple application) updates don't use the "softwareupdate" process that Apple system updates use, so that isn't surprising. Have you tried the safe boot?
    I still think it's a "stuck" update in /private/var/folders but it can be difficult to find anything in there, as you've discovered. If you look in that folder and enable "calculate all sizes" in Finder's view options, you might find something if you sort by size.
     
  21. legaleye3000 macrumors 65816

    Joined:
    Jul 31, 2007
    #21
    That would be nice if they allowed updates via recovery partition.
     
  22. legaleye3000 macrumors 65816

    Joined:
    Jul 31, 2007
    #22
    Just found this and it worked!

    sudo chown -R _softwareupdate:_softwareupdate /var/folders/zz/zyxvpxvq6csfxvn_*
     
  23. mag01 macrumors regular

    Joined:
    Apr 10, 2011
    #23
    Good that you managed to get it to work, however you should've (recursively) changed the owner and group to _softwareupdate for /var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068 only as another similar directories should ideally have different ownership. Now, something else might be broken instead.
    Code:
    drwxr-xr-x  6 root             wheel            204 Oct 27 00:02 zyxvpxvq6csfxvn_n0000000000000
    drwxr-xr-x  3 _networkd        _networkd        102 Oct 27 00:00 zyxvpxvq6csfxvn_n000003000000r
    drwxr-xr-x  4 _appleevents     _appleevents     136 Oct 27 00:00 zyxvpxvq6csfxvn_n000006w00001q
    drwxr-xr-x  4 _mdnsresponder   _mdnsresponder   136 Oct 27 00:00 zyxvpxvq6csfxvn_n0000084000021
    drwxr-xr-x  4 _spotlight       _spotlight       136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000b400002s
    drwxr-xr-x  4 _securityagent   _securityagent   136 Oct 27 00:04 zyxvpxvq6csfxvn_n00000bh00002w
    drwxr-xr-x  4 _atsserver       _atsserver       136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000c4000031
    drwxr-xr-x  4 _softwareupdate  _softwareupdate  136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000s0000068
    drwxr-xr-x  4 _coreaudiod      _coreaudiod      136 Oct 27 00:01 zyxvpxvq6csfxvn_n00000s800006_
    drwxr-xr-x  4 _locationd       _locationd       136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000sm00006d
    drwxr-xr-x  3 _timezone        _timezone        102 Oct 27 00:04 zyxvpxvq6csfxvn_n00000t800006k
    drwxr-xr-x  4 _cvmsroot        _cvms            136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000th00006m
    drwxr-xr-x  3 _usbmuxd         _usbmuxd         102 Oct 27 00:00 zyxvpxvq6csfxvn_n00000tm00006n
    drwxr-xr-x  4 _netbios         _netbios         136 Oct 27 01:28 zyxvpxvq6csfxvn_n00000vr00006y
    drwxr-xr-x  4 _assetcache      _assetcache      136 Oct 27 01:49 zyxvpxvq6csfxvn_n00000xc00007b
    drwxr-xr-x  4 _iconservices    _iconservices    136 Oct 27 00:00 zyxvpxvq6csfxvn_n00000y000007h
    drwxr-xr-x  3 _distnote        _distnote        102 Oct 27 00:00 zyxvpxvq6csfxvn_n00000y400007j
    drwxr-xr-x  3 _nsurlsessiond   _nsurlsessiond   102 Oct 27 00:00 zyxvpxvq6csfxvn_n00000y800007k
    drwxr-xr-x  3 _nsurlstoraged   _nsurlstoraged   102 Oct 27 00:01 zyxvpxvq6csfxvn_n00000yc00007l
     
  24. legaleye3000 macrumors 65816

    Joined:
    Jul 31, 2007
    #24
    Sorry, I'm a terminal noob. Can you explain what I need to do now...? Thanks!
     
  25. Mactabulous, Feb 1, 2015
    Last edited: Feb 1, 2015

    Mactabulous thread starter macrumors member

    Joined:
    Dec 23, 2011
    #25
    Can you provide a source for this command? Where did you find it?

    Update: I applied the command only to the folder in question, and it has indeed resolved the issue. Still, I'd like to know where the solution came from.

    Chrfr: thanks so much for following up on this, much appreciated!
     

Share This Page