Hi,Anyone having the problem installing apps with dmg? Error DIsk image operation failed error 153.
Tried several, all the same.
Using the latest branch for Sonoma
This happened to me. It happens with the DMGs that have the quarantine attribute set at download (for me, all of them xD):
Code:
-[DiskImageMounterDelegate application:openURLs:]_block_invoke: Failed to attach <private>: Error Domain=com.apple.DiskImages2.ErrorDomain Code=153 "Disk image operation failed with error code 153" UserInfo={DIErrorVerboseInfo=Failed to quarantine device, error=0xe00002c2, NSLocalizedDescription=Disk image operation failed with error code 153}
You can check the attributes with xattr -l <DMG name>:
Code:
xattr -l Additional_Tools_for_Xcode_12.5.dmg
com.apple.FinderInfo:
com.apple.diskimages.fsck: <9?H @???*vP???34.
com.apple.diskimages.recentcksum: i:71352412 on 93EC4DB0-2A8F-4B9C-AF0C-D126DB62AA45 @ 1621629960 - CRC32:$B9BE333F
com.apple.metadata:kMDItemDownloadedDate: bplist00?3A?,)?>?
com.apple.metadata:kMDItemWhereFroms: bplist00?_xhttps://download.developer.apple.com/Developer_Tools/Additional_Tools_for_Xcode_12.5/Additional_Tools_for_Xcode_12.5.dmg_7https://developer.apple.com/download/more/?=for%20Xcode
?
com.apple.quarantine: 0083;60a81c08;Safari;F591962B-D7BD-4A9E-A5E0-D250C8E6429B
If the file has it, as in this case you can just remove it with unqt, like so:
Code:
unqt Additional_Tools_for_Xcode_12.5.dmg
After that, the DMG will mount normally.
Cheers!