Installer hangs on "waiting for other installations to finish" despite no other installations in progress

98,628

Solution 1

  1. sudo rm /private/var/db/mds/system/mds.install.lock
  2. reboot or sudo killall -1 installd

Chances are that a previous installation hung and the lock was never cleaned up.

Solution 2

When an installation happens a daemon installd runs. Killing a leftover installd should allow another installation to happen (and will kill any new ones that are waiting for the defunct one to finish). So,

sudo killall -1 installd

Nice aspect of this is you won't need to reboot.

Solution 3

I had the same problem for no apparent reason and found a couple of solutions suggesting deleting some files - but nothing helped (at least was not enough). Eventually force-quitting the installer with activity monitor and then restarting my Mac did it and after the restart the installation completed fine.

Solution 4

Simply just check that no Applications are downloading in the App Store because I had iMovie downloading in the background and I didn't notice until later. After that I just cancelled the iMovie installation and the other installation downloaded within seconds.

Share:
98,628

Related videos on Youtube

clozach
Author by

clozach

iOS to Rails to iOS. Thinking of doing my next server-side project in Go…. We'll see.

Updated on September 17, 2022

Comments

  • clozach
    clozach almost 2 years

    I started an installation of the Xcode 4 developer's preview last night before going to bed. When I woke up, the installation had popped up a message saying to close Xcode first (doh!). I did so, but whatever script had displayed the message seemed to have hung because the (uncancellable) message wouldn't disappear, and the installer wouldn't progress.

    After force quitting the Installer app, the message above was still showing, so I restarted my MacBook Pro and then tried the installation again. This time it wouldn't even start, instead showing one of those candy-stripe activity bars and the message:

    Waiting for other installations to finish

    At this point, I'm stumped. There are no other installations in progress, so there must be some artifact left over from the interrupted install that's gumming up the works. But what?

    • Shayne
      Shayne over 5 years
      This might sound a bit madcap, but in the past I've found that quiitting the iPhone simulator can unstick these installs. I suspect theres some sort of lock that only allows one installer at a time, and the iPhone simulator holds that lock closed so it can install apps into its own space. Remember the iPhone simulator just runs regular intel apps but with a different ABI and wrapped in a chrooted ios-like environment, so I guess its sharing the install lock with the OS
  • Jed Bartlet
    Jed Bartlet about 12 years
    it's weird how many times I have to refer to my own answer here... that's such an obtuse path.
  • SuperTempel
    SuperTempel about 12 years
    Bad advice - Apple even expressly allows multiple Xcode installations to exist. I see your reply was first, so you made a blind guess, and I'm just saying: Uninstalling other software on OSX is usually not the solution - that's contrary to Windows, where this used to be rather the rule.
  • funroll
    funroll over 11 years
    Obtuse indeed. Worked for me without having to reboot--thanks much.
  • scott johnson
    scott johnson over 8 years
    The file was named simply mds.lock for me, but otherwise this worked without reboot, thanks!
  • Erik Kaplun
    Erik Kaplun over 8 years
    I had both mds.lock as well as mds.install.loc, which I removed, but in addition @tantrix's solution (sudo killall -1 installd) was needed to avoid the reboot.
  • Abdul Saleem
    Abdul Saleem over 8 years
    Thanks. There were two installations pending. Both finished right after this command
  • Daniel
    Daniel about 6 years
    Note: worked for me without the 'reboot'
  • user2568374
    user2568374 almost 5 years
    thank you @ErikAllikVERY helpful.
  • Arthur Guiot
    Arthur Guiot over 4 years
    Thanks, this should be the right answer
  • Jeff Clayton
    Jeff Clayton about 4 years
    You are correct, sudo runs via admin privileges and needs a password.