I can't update my Mac software to the latest version - Error occurred (102)
Launch Terminal and type the following command if
 you are running macOS Sierra:

 open `getconf DARWIN_USER_CACHE_DIR`/com.apple.appstore


Move all the files and folders out of com.apple.appstore. Then relaunch Mac App Store.

You can delete all the files and folders later if Mac App Store works well. ​