Ishida Tech Solutions, Ltd.
The personal and professional home of Brad Ishida

Parallels Desktop 5 Will Not Install Due to Conflicting Applications - February 13, 2010

parallels install error

While trying to install the latest update to Parallels Desktop 5, I ran into an installation road block because the installer claimed 10 different Parallels applications were running and needed to be closed. Clearly, this was not the case. My first thought was to blame Parallels, but then an Adobe Acrobat and Adobe Reader update failed for the same reason–the installer claimed certain applications were running when they were not. While using the OS X Terminal, I realized certain commands were not working. I could not “less” a file. “grep” returned nothing even when I searched for strings that were clearly there. It turns out my entire /usr/bin directory had multiple executable files showing 0 bytes! “less” showed 0 bytes and also showed thousands of links to it–the same was true for many standard command line utilities. Installers like Parallels and Adobe depend on command line utilities found in /usr/bin. For example, to determine if certain programs are running, the installer will run a shell script that uses the “ps” command. If you’re curious what that would look like, here is the exact script that Parallels Desktop 5 uses:

#!/bin/sh

if ps -w -w -A -ocommand | grep -nq ‘^/Library/Parallels/Parallels Server.app/Contents/MacOS/prl_vm_app’; then

exit 1

fi

if ps -w -w -A -ocommand | grep -nq ‘^/Library/Parallels/Parallels Service.app/Contents/MacOS/prl_vm_app’; then

exit 1

fi

exit 0

I decided the best long term solution to my problem would be to reinstall OS X Snow Leopard and then bring back all my applications and documents using the migration assistant. To make life a little easier, I bought a new hard drive to use with the fresh install. I then mounted the old hard drive using an external dock to run the migration assistant. The entire process took about 4 hours but everything is working normally again and my /usr/bin directory looks sane. The Parallels Desktop5 update ran just fine.

Filed under: Learn by Doing — admin @ 11:45 pm

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

© Copyright 2008-2011 Brad Ishida