When I open up the AppStore, under updates, the application thinks that I need to update the same application several times. In this case Command Line Tools is listed several times in a row. How do I remove these multiple entries from the app store.
The log of your updates are available in:
~/Library/Application Support/App Store/updatejournal.plist
The simple solution is to clear the update logs by deleting the mentioned file.
Here is the guide to remove duplicate if you want to keep the update logs.
- Open Terminal.
updatejournal.plistby entering this line
plutil -convert xml1then drag the
updatejournal.plistfrom Finder into Terminal to expand the path, then press Return. Mine is the following:
plutil -convert xml1 ~/Library/Application\ Support/App\ Store/updatejournal.plist
~/Library/Application\ Support/App\ Store/updatejournal.plistwith your favorite text editor (TextEdit works fine).
Find the duplicate update logs. For example, mine is Command Line Tools (OS X 10.10). The point is to delete that entry which is inside the scope of
<dict>. So you should delete the content between
</dict>. Here is line I need to delete. Save the file.
<dict> <key>__isSoftwareUpdate</key> <true/> <key>installDate</key> <date>2014-10-17T09:55:17Z</date> <key>productKey</key> <string>031-08844</string> <key>release-notes</key> <string>Command Line Developer Tools for OS X 10.10</string> <key>title</key> <string>Command Line Tools (OS X 10.10)</string> <key>version</key> <string>6.1</string> </dict>
Convert the file back to binary1 by entering this line
plutil -convert binary1and drag the
updatejournal.plistfrom Finder, and press Return. Here is mine in Terminal:
plutil -convert binary1 ~/Library/Application\ Support/App\ Store/updatejournal.plist
Open Mac App Store and refresh the Updates section. The duplicate line should disappear. Remember to only delete one entry of duplicate file. Imagine that
plistas a spreadsheet with duplicate lines. Just delete one.
Feel free to leave question in comment if the tutorial is vague.
I experienced the same problem but did not resolve it by editing "
A Japanese website provided a solution and it resolved the issue at last. I hope your problem will be fixed also.
This is the essential point: He said it was due to a Spotlight behavior when Spotlight is disabled.
To resolve this, we need to re-enable Spotlight:
$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist $ sudo mdutil -E /
After rebooted you can disable it again if you desire using:
$ sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist