1

I installed Mac OS 10.7.4 on my MBP last night, along with Safari 6. I was leery about installing Safari 6, but I figured I could cope with the changes. But, after using it for about 30 minutes I want Safari 5.1.7 back.

My "plan of attack" was to download the 5.1.7 installer, delete Safari 6, and install Safari 5.1.7. After the installer finished downloading I ran sudo rm -rf /Applications/Safari.app. As expected that deleted the application file. However, when I opened the 5.1.7 package installer I get the following error.

enter image description here

I decided that the best way to get Safari 5.1.7 back was to reinstall Mac OS 10.7.4. But before I run the install I have a couple of questions.

  1. Is the "Client Combo" edition the wrong thing?
  2. Will it attempt to install 10.7.4 incorrectly?
  3. Is there a better way of deleting Safari 6 and installing 5.1.7?
5
  • What's your reasoning behind the downgrade?
    – Alexander
    Commented Jul 27, 2012 at 17:05
  • @XAleXOwnZX because Safari is the only web browser that I use on a regular basis and I don't like any of the changes they've made to it. On my computer the new web inspector has a bad lag, I don't like the new tab bar, and I don't like the unified address bar. Commented Jul 27, 2012 at 17:46
  • What's wrong with the unified bar? most people are thinking "about time!" The web inspector issue might just be your set up, it seems to be working fine here
    – Alexander
    Commented Jul 27, 2012 at 18:15
  • 1
    @XAleXOwnZX all of my reasons are personal preference. There isn't anything wrong with it, I just like having my search term in the top right corner where I can quickly jump back to my Google search. Commented Jul 27, 2012 at 18:41
  • TBH i think finding a "fix" now will just be delaying the inevitable change to this look that'll probably come with all new versions
    – Alexander
    Commented Jul 28, 2012 at 18:18

3 Answers 3

1

First off, double check your backup situation and be ready to use it to restore your data onto a clean 10.7.4 install if needed.

Your idea to delete the safari app and then re-install the Combo Updater is a great one and I have used it to great success in many cases where people managed to delete Safari in the past. The client combo is the correct update for you. (Client is correct as opposed to the server version of the combo updater)

It is not guaranteed to work (and I haven't tested it with Safari 6 having been installed and 10.7.4 yet so you could encounter a dragon but if your alternative is to do a clean install and skip the upgrade to Safari 6.0 you don't have much to lose by trying the combo updater trick.)

Watch the install logs to be sure that the Safari installation isn't skipped due to detecting a newer version. If that happens, you'll have to much around in the /Library/Receipts folder and potentially the receipts database to remove the recipt that tells the system what version of Safari was installed in the past.

6
  • I re-installed 10.7.4 and Safari did not come back. When I ran the installer it still said "A newer version of Safari is already installed". Do you have any ideas? Commented Jul 27, 2012 at 19:03
  • 2
    I haven't dug into which specific receipt files Safari uses. Let's leave this question as resolved. Q: "Is it dangerous?" A: No, but it may not work. Here are some options. And you can now ask a very narrow question. I have installed version 6 of safari and now want to downgrade. Which receipt files does safari use so I can run the installer...
    – bmike
    Commented Jul 27, 2012 at 19:12
  • 1
    You can of course keep editing this / hoping to get the answer - but there are a lot of parts to this question already...
    – bmike
    Commented Jul 27, 2012 at 19:12
  • I understand, and I'm sorry for being unclear. At this point I'm willing to stick with Safari 6, having a browser is better than no browser. Do you know where/how I can download Safari 6 again? I know Apple took the download page off of their website. If you don't, know worries, you've been extremely helpful in giving me advice. Commented Jul 27, 2012 at 19:23
  • I was able to download Safari 6 with wget using the url here: discussions.apple.com/message/19033694#19033694 Again, thanks for your assistance. Commented Jul 27, 2012 at 19:39
1

Reinstalling the OS just for Safari seems a bit drastic. The reason it says that is probably exactly because you used rm -rf as opposed to dragging it into the trash.

In OS X there is a central registry of installed applications, and afaik when you drag an application to the trash, it is automatically removed from this registry. When you just rm -rf it will delete the files but not the entry in the registry.

So I'd try : reinstall Safari 6 normally, then drag it to the trash. This should remove it from the registry, so try to install Safari 5 afterwards.

If it still doesn't work, try using the /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister tool to manually unregister Safari.

1

If all you want is the old Safari.app I would suggest using a tool like Pacifist to open the .pkg and install just that component rather than jumping through hoops.

However you should also be aware that the Safari 6 update may have installed a newer version of WebKit and other support frameworks that simply won't work with Safari 5, in which case you'll have to try to install the full 5.x pkg and overwrite the newer frameworks (not recommended though!). Pacifist ought to be able to do such an install while bypassing the usually Installer checks but...

...If you'd prefer to run the checks and use the system's Installer.app I'm pretty sure you need to clear out the Safari 6-specific receipt that tells OS X that it was previously installed. I'd imagine that's what the Safari 5 installer is checking but I haven't tested at all to see if this is indeed the case.

Not to call out houbysoft particularly but I doubt the reinstall issue is related to lsregister though, since (as evidenced by its path) I'm pretty sure that's only related to LaunchServices (ie. the service that decides what apps will show in the Open With menu for documents) rather than app installation.

Anyways, rather than retyping, this answer about Java uninstallation (starting with the "clean up the installer records" section) provides a good list of the steps to take and places to look for the installer files, substituting Safari for Java of course :-)

Edit: More awesome comprehensive installer info can be found on Nick Shubin's site

Or, alternately, be zen about it and learn to live with Safari 6 instead of making work for yourself ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .