Skip to content

Instantly share code, notes, and snippets.

@reedobrien
Created September 7, 2011 01:09
Show Gist options
  • Save reedobrien/1199474 to your computer and use it in GitHub Desktop.
Save reedobrien/1199474 to your computer and use it in GitHub Desktop.
fix "Waiting for other installations to complete." on OSX 10.6 10.7
## fix "Waiting for other installations to complete." on OSX 10.6 10.7
## sometimes a failed installation leaves us unable to
## perform an installation. The following fixes it for me
sudo rm /private/var/db/mds/system/mds.install.lock
sudo reboot
@reedobrien
Copy link
Author

You must be root to reboot thus sudo...

camel:build reedobrien$ reboot
reboot: Operation not permitted

@pascalpp
Copy link

yeah i mean just choosing Restart... from the apple menu, so your apps have a chance to quit normally, etc.

@reedobrien
Copy link
Author

Yes I am sure that would work fine.

@xiongchiamiov
Copy link

It seems that rebooting shouldn't be necessary, but I can't seem to find out how to remove whatever other lock Software Update is waiting on. I thought it might be mds.lock, but no.

@reedobrien
Copy link
Author

Yeah I gave up and rebooted after a few minutes.

@Horse888
Copy link

Very Good. Thanks!

@dwilt
Copy link

dwilt commented Aug 1, 2012

This worked for me. Thanks! I love nerds <3

@cailurus
Copy link

worked for me! Thanks.. lol

@TheodoreMurdock
Copy link

This seems a bit extreme...first you should check whether there are actually other installers waiting to finish, and do whatever they need.

In my case, I started installing new software while there was a popup saying that I needed to close iTunes for an install to finish (due to a recent update). Switching users and closing iTunes, which was open on my other user account, let the first install finish, which in turn let my second install finish as well.

@bryanmacfarlane
Copy link

I agree with @TheodoreMurdock - in my case, I forgot that there was an xcode installation going in the background. Being patient let everything finish gracefully :) . patience

@tamerhad
Copy link

tamerhad commented Jan 4, 2021

Just:
sudo killall -1 installd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment