I'm running Yosemite on a late 2011 MacBook Pro. I did this to upgrade XCode from a downloaded DMG after the App Store repeatedly stalled.
Now XCode is upgraded but the App Store still shows the same version of XCode as available for upgrade. And there is one further update (a camera raw package) available. But neither of them will actually update. App Store stalls repeatedly.
How do I un-hose the App Store? I'm ideally looking for some command that will cause App Store to reset itself to a clean state, recognize that the latest XCode is installed, and successfully download and update the camera raw and future packages.