Installing Firefox 4 Beta on OSX
So today I decided to switch over to the mainline Firefox 4.0 Beta from the Minefield dailies I've been using. I started to copy the new Firefox.app directory over the existing one in my Applications folder and immediately was met with a:
'The operation can't be completed because the item "libsmime3.dylib" is in use.'
Well shit, whats holding onto that lib. Turns out that it was my Cisco VPN Anywhere Agent, aka vpnagentd. So I go ahead and do a:
'sudo killall vpnagentd'
Ugh and of course it restarts automatically before I can copy the files over. So what now. Oh yeah, it runs as a daemon so I need to use my old friend launchctl to unload it. The command for this is:
sudo launchctl unload /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist
w00t! Now the files copy over with no problem. Now I need to put AnyConnect back into place. This can be done with:
sudo launchctl load /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist
That should do it, Firefox 4 Beta up online and working again.
That was 15 minutes of my life I'll never get back. Hopefully this post saves you 10.





February 18th, 2011 - 00:10
This saved me more than ten! Thanks.
February 20th, 2011 - 19:48
Thanks man! You def saved me a ton of time and frustration!!!
March 17th, 2011 - 23:29
Sounds like my problem but I’m not particularly skilled on the mac side. What do I launch to use the sudo… command with?
March 17th, 2011 - 23:36
nevermind. I got it and now loaded Firefox 4 beta. Thanks…
March 24th, 2011 - 20:54
THANK YOU. I have been searching all over the place and everything points me to the Silicone Chaos article which did not help. You saved me a lot of frustration!
March 24th, 2011 - 20:59
Glad it helped, did you have the same error message or something else?
March 28th, 2011 - 20:19
Thanks! It help me too. All the search hits gave ‘sudo killall vpnagentd’. But, the daemon restarted as you said. Saved me 10. Same message, too.
April 2nd, 2011 - 10:31
Oh, hell… You get a BIG THANKS. Had the exact error. Found others with incomplete solutions — you NAILED IT!
Thank you!
June 25th, 2011 - 10:34
Holy crap, I was killing myself with that one. THANKS FOR NOTHING CISCO ANYCONNECT VPN.
June 29th, 2011 - 15:28
Hi,
Having a bit of a problem. Followed your advice (thanks!) and got Firefox installed fine, but now after reloading the cisco launch daemon, I can no longer connect to our work VPN.
I’ve tried uninstalling and re-installing the anyconnect client with no luck. Any suggestions?
July 4th, 2011 - 12:36
Fixed my problem perfectly. Thank you so much for posting this.
July 11th, 2011 - 01:49
WOOHOO! \o/
July 13th, 2011 - 10:25
Thank you for the solution. Worked like a charm. Question so I can learn more: how did you find out which process/service was using that library?
August 4th, 2011 - 18:22
Thanks! Worked great!
August 15th, 2011 - 17:56
Worked perfectly with Firefox 6.0 installation! Thanks.
August 22nd, 2011 - 08:38
Thanks! Saved me more than 10 minutes of my life!
October 28th, 2011 - 12:09
Thank you so much — that seems to have done the trick.
November 30th, 2011 - 18:29
thanks! still relevant with firefox 8 on osx 10.5.8
December 20th, 2011 - 15:39
Man thanks!!!! i was going nuts, gave up on updating firefox for a few days, was trying to figure out what was causing the file to remain open
December 21st, 2011 - 11:32
Wow. It really helped me a ton of minutes, leave alone the frustration and agony.