Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks unable to apply software updates

Hello,


since updating to 10.9 my mac is unable to download and apply software updates ... console log shows these messages


Dec 17 19:56:03 dagobah.lan softwareupdated (200)[213]: SoftwareUpdate: could not create parent path for partial download: /var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068/C/com.apple.SoftwareUpdate/swcdn .apple.com/content/downloads/34/24/091-8710/n381wzjyaxg9x2v10k6ppv99x5hfcfv222 (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “n381wzjyaxg9x2v10k6ppv99x5hfcfv222” in the folder “091-8710”." UserInfo=0x7fd642521350 {NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068/C/com.apple.Software Update/swcdn.apple.com/content/downloads/34/24/091-8710/n381wzjyaxg9x2v10k6ppv99 x5hfcfv222, NSUnderlyingError=0x7fd6425211e0 "The operation couldn’t be completed. Permission denied"})


Dec 17 19:56:03 dagobah.lan softwareupdated (200)[213]: Failed to write state: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “com.apple.SoftwareUpdate.SUUpdateServiceDaemon.state”." UserInfo=0x7fd640c6fd70 {NSURL=file:///var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068/C/com.apple.Softwa reUpdate.SUUpdateServiceDaemon.state, NSUserStringVariant=Folder, NSUnderlyingError=0x7fd640dd9140 "The operation couldn’t be completed. Operation not permitted"}


appreciate any help


regards

OS X Mavericks (10.9)

Posted on Dec 17, 2013 11:03 AM

Reply
41 replies

Mar 15, 2014 9:14 AM in response to oswjim

Thanks! TO OSWJIM ! ! !

I also could not do upgrades, and the change of ownership FIXED for me!

Thanks, Thanks, THANKS!


RE:

Hi,


you need to open the terminal an go to /var/folders/zz/


once there list the content (ls -la) and check the ownership for folder zyxvpxvq6csfxvn_n00000s0000068

should be something like


drwxr-xr-x+ 5 _softwareupdate _softwareupdate 170 Feb 1 16:15 zyxvpxvq6csfxvn_n00000s0000068


if the onwer & group is something different to _softwareupdate you will need to change them using the command below


sudo chown -R _softwareupdate:_softwareupdate zyxvpxvq6csfxvn_n00000s0000068


Rgds

May 23, 2014 10:47 AM in response to oswjim

Thank you for this thread. I changed ownership permissions as indicated from your ls -la screen shot, but my output includes root/wheel permission to zyxvpxvq6csfxvn_n00000cc000033 and zyxvpxvq6csfxvn_n00000t000006h. Do you know what these services are? Also, output

does not include the clamav and nobody directories in zz. should they be there or am i ok without them? any sudo commands you could provide would be appreciated.

Thanks again,

NancyW

Jan 28, 2015 1:52 AM in response to oswjim

Thank you! I have been struggling with this issue on my work Mac (no issues on my home one) for nearly a year but your solution worked like a champ. Here's what would happen:

  1. I got the notification I had one or more updates.
  2. I'd then click "Update" or "Update All".
  3. Then button would change to "Installed" or I'd get a "513" error but in both cases nothing actually happened.
  4. The next time I would check for those same updates they would show as uninstalled.
  5. Back to Step 1.😢

Thanks again,

Brian

Jul 14, 2015 4:11 AM in response to russoedu

It's not working again 😟


This is the content of my zz folder:


User uploaded file


The AppStore starts the download but suddenly stops. It shows as if the update was installed, but it's not.


User uploaded file

I also tried updating via terminal and it sais the update has been installed… but, again, it's not:

User uploaded file


Any idea what's going on?



------- Update: I tried again to update via terminal and the download is stalled… This is the console log I got:


Marcador - 14 de jul de 2015 8:05:05 AM

Jul 14 08:05:18 rBook softwareupdated[317]: Adding client SUUpdateServiceClient pid=1587, uid=501, installAuth=NO rights=(), transactions=0 (/usr/sbin/softwareupdate)

Jul 14 08:05:18 rBook installd[498]: PackageKit: Adding client PKInstallDaemonClient pid=317, uid=200 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

Jul 14 08:05:18 rBook softwareupdated[317]: Cannot find local product 031-07832 in index file

Jul 14 08:05:18 rBook installd[498]: PackageKit: Adding client PKInstallDaemonClient pid=317, uid=200 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

Jul 14 08:05:18 rBook installd[498]: PackageKit: Sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/491BB7 2B-17B1-4512-BA3B-3567CCFF8A00.sandbox: relevance 0

Jul 14 08:05:18 rBook installd[498]: PackageKit: Removing client PKInstallDaemonClient pid=317, uid=200 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

Jul 14 08:05:18 --- last message repeated 1 time ---

Jul 14 08:05:18 rBook softwareupdated[317]: SUUpdateSession startUpdateForProducts:<SUProduct: 031-07832> inForeground: YES staged: NO

Jul 14 08:05:18 rBook softwareupdated[317]: SoftwareUpdate: Added foreground transaction [0x8] for 031-07832-3.1

Jul 14 08:05:18 rBook softwareupdated[317]: SoftwareUpdate: starting download of 031-07832 (031-07832-3.1)

Jul 14 08:05:18 rBook softwareupdated[317]: Cannot find local product 031-07832 in index file

Jul 14 08:05:48 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8af68c2d0 {com.apple.AssetCacheLocator.tag=#cae761e2, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:05:53 rBook softwareupdated[317]: Finished downloading package HP_PSS.pkg to file:///var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068/C/com.apple.SoftwareUpdat e/CFNetworkDownload_RdXhqf.tmp (error (null))

Jul 14 08:05:53 rBook suhelperd[370]: Verifying package at path: /Library/Updates/031-07832/HP_PSS.pkg

Jul 14 08:05:53 rBook softwareupdated[317]: No more tasks - invalidating session now

Jul 14 08:06:18 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8af68ca40 {com.apple.AssetCacheLocator.tag=#f32a8b12, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:06:18 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:06:48 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8c03e14a0 {com.apple.AssetCacheLocator.tag=#cfa73528, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:06:48 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:07:18 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8c03a3420 {com.apple.AssetCacheLocator.tag=#e164d106, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:07:18 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:07:48 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8af60bc20 {com.apple.AssetCacheLocator.tag=#6a409def, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:07:48 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:08:18 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8af668e60 {com.apple.AssetCacheLocator.tag=#6fd09f4b, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:08:18 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:08:48 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8af60bc20 {com.apple.AssetCacheLocator.tag=#91c10305, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:08:48 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:09:18 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8beade2c0 {com.apple.AssetCacheLocator.tag=#28f63105, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:09:18 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:09:48 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8bfa9e8d0 {com.apple.AssetCacheLocator.tag=#da794fe9, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:09:48 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Jul 14 08:10:18 rBook softwareupdated[317]: ContentLocator: Error Error Domain=NSPOSIXErrorDomain Code=60 "timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService" UserInfo=0x7fe8be1ac6f0 {com.apple.AssetCacheLocator.tag=#3ff25770, NSLocalizedDescription=timed out waiting for reply from XPC service com.apple.AssetCacheLocatorService} while looking up local caching URL

Jul 14 08:10:18 rBook softwareupdated[317]: Could not create the NSURLSessionDownloadTask

Mavericks unable to apply software updates

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.