Mac OS Update to 10.14.5 error

The error:

enter image description here

enter image description here

Console log:

 2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: SUBridgeOSUpdateManager: bridgeOS update prepare for 041-57074 failed: Error Domain=BOSErrorDomain Code=111 "An error occurred extracting the update or brain package." UserInfo={NSLocalizedDescription=An error occurred extracting the update or brain package., NSUnderlyingError=0x7f9c071cd9a0 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive verify failed" UserInfo={NSURL=file:///Library/Updates/041-57074/BridgeOSUpdateCustomer.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=23313017, NSFileExtensionHidden=false, NSFileSystemNumber=16777221, NSFileSize=327028014, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2019-05-21 02:38:18 +0000, NSFileType=NSFileTypeRegular, NSFileExtendedAttributes={
            "com.apple.quarantine" = <30303836 3b356365 33363731 393b3b>;
        }, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2019-05-22 02:42:43 +0000, NSLocalizedDescription=archive verify failed}}}
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: Changing status (foreground bridgeOS prepare failed) for key 041-57074 from "preparing bridgeOS update" to "download error"
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: Stopping transaction with ID [0x6]
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: SoftwareUpdate: Removed foreground transaction [0x6]
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: Running session-idle tasks.
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 softwareupdated[525]: Checking for inapplicable local products remaining on disk for cleanup
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 SoftwareUpdateNotificationManager[875]: SUAppStoreUpdateController: status for 041-57074: 041-57074 (a=0x3): download error (2806700848 of 2806700848) 80.0% 1.0s (error: Error Domain=SUErrorDomain Code=602 "An error occurred installing the update." UserInfo={NSUnderlyingError=0x7fc7500218f0 {Error Domain=BOSErrorDomain Code=111 "An error occurred extracting the update or brain package." UserInfo={NSLocalizedDescription=An error occurred extracting the update or brain package., NSUnderlyingError=0x7fc750038cd0 {Error Domain=PKXARArchiveErrorDomain Code=101 "archive verify failed" UserInfo={NSURL=file:///Library/Updates/041-57074/BridgeOSUpdateCustomer.pkg#Payload, NSFileOwnerAccountID=0, NSFileHFSTypeCode=0, NSFileSystemFileNumber=23313017, NSFileExtensionHidden=false, NSFileSystemNumber=16777221, NSFileSize=327028014, NSFileGroupOwnerAccountID=0, NSFileOwnerAccountName=root, NSFilePosixPermissions=420, NSFileHFSCreatorCode=0, NSFileCreationDate=2019-05-21 02:38:18 +0000, NSFileType=NSFileTypeRegular, NSFileExtendedAttributes={
            "com.apple.quarantine" = <30303836 3b356365 33363731 393b3b>;
        }, NSFileGroupOwnerAccountName=wheel, NSFileReferenceCount=1, NSFileModificationDate=2019-05-22 02:42:43 +0000, NSLocalizedDescription=archive verify failed}}}}, NSLocalizedRecoverySuggestion=You can try again to complete the installation., NSLocalizedDescription=An error occurred installing the update.})
    2019-06-12 11:21:10+08 Williams-MacBook-Pro-6 system_installd[896]: PackageKit: Removing client PKInstallDaemonClient pid=525, uid=200 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)

Solution 1:

The error could be the download progress was interrupted.

The macOS updated files are located in /Library/Updates, needs to clean up that folder. You can't simply delete it.

By the following steps:

  1. Restart your mac, press Command + R, then enter into Recovery HD.
  2. Choose utility menu, select Terminal.
  3. csrutil disable to disable SIP.
  4. reboot.
  5. Delete the files in folder /Library/Updates.
  6. Enter Recovery HD again, and input csrutil enable in Terminal.
  7. reboot.
  8. Check the update should work.

Hope this helps someone.