Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Restore previous Safari version from .SafariArchive.tar.gz Web Browsers
Restore previous Safari version from .SafariArchive.tar.gz Did that new Safari update (5.1) break something and you'd like the old version back? Thanks to Apple's prescient yet secretive engineers, there's a way.

When Safari does an upgrade it saves the previous version in this location:

/Library/Application Support/Apple/.SafariArchive.tar.gz

To restore Safari, have tar to expand the archive to the root folder:
sudo tar -xvf /Library/Application\ Support/Apple/.SafariArchive.tar.gz -C /
To be complete, delete the receipt from /var/db/receipts, in this case it is the one for Safari 5.1:
sudo rm -rf /private/var/db/receipts/com.apple.pkg.Safari51SnowLeopard.*
Reboot, since we've just replaced a whole bunch of public and private frameworks the OS uses.

[crarko adds: I haven't tested this one. As always, have a recent system backup around just in case. This hint is not applicable to Safari 5.1 on Lion.]
    •    
  • Currently 4.14 / 5
  You rated: 5 / 5 (7 votes cast)
 
[22,186 views]  

Restore previous Safari version from .SafariArchive.tar.gz | 12 comments | Create New Account
Click here to return to the 'Restore previous Safari version from .SafariArchive.tar.gz' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: xmath2007 on Jul 29, '11 12:55:07PM

This seems to work fine. I restored Safari 5.0.5 and the Glims plugin appears to be working again.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: diorite on Jul 29, '11 07:22:57PM

My Safari magically reverted to 5.05 after I applied the 10.6.8 ver 2 combo updater (after letting Software update install the non-combo ver 2 of 10.6.8).

Safari 5.1 still shows as being installed in Software update - I'll leave that for now. I don't like 5.1.

Your mileage may vary on this one.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: jcbeckman on Jul 29, '11 09:02:12PM

Had a problem on one machine where the tar command wouldn't work; got an error about obsolete base-64 headers. Solution was to first gzip -d the file, then tar the resulting file.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: sashoto on Jul 29, '11 09:05:49PM

Thanks! This resolved a problem with keyboard input in Flash.

After the last Safari update, I couldn't type into any Flash text fields, and reverting resolved that issue.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: ericcartman on Jul 30, '11 02:57:36AM

Does anyone know if there is a way to do the same thing with iTunes? I tried looking in Library>Application support, but there doesn't seem to be an option for iTunes. When I try installing a previous version of iTunes from a DMG, the installation always fails.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: TwoStrokes on Jul 30, '11 11:03:27AM

I tried this restore and it did take me back to version 5.05 with all my userform data and bookmarks intact.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: rocketmac on Jul 30, '11 05:12:52PM

Worked similarly for me. With 5.1, I couldn't open a new window without creating a new tab from an open window. I also couldn't open a link from within an email unless Safari was shut down. All of that works now, back on 5.0.5.

The one problem I've found is when I hit the "+" next to the address bar to add a bookmark. The resulting graphic doesn't show the selected location for the bookmark. It's there, just invisible. Click where it should be and the drop down shows up and you can verify your selection. Only slightly annoying compared to Safari being USELESS before.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: secretariat on Jul 31, '11 12:40:37PM

Safari 5.1 consistently crashed w/ the LastPass extension. This process worked neatly.



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: dxtr on Jul 31, '11 01:53:30PM

Thanks, worked like a charm. Did not realize how much Pith Helmet was blocking.....

---
seeya
dxtr
"Never ask what sort of computer a guy drives. If he's a Mac user, he'll tell you. If not, why embarrass him?" - Tom Clancy



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: Mac108 on Aug 02, '11 07:04:54AM

Someone else posted this same hint, but with a slight difference.

He said that after unpacking the archived file and recovering Safari 5.0.5

"There is no need to replace the newer framework files with the older versions. Both versions of Safari can be used side-by-side and run at the same time."

Does this sound safe?



[ Reply to This | # ]
Restore previous Safari version from .SafariArchive.tar.gz
Authored by: joelbruner on Aug 04, '11 09:47:28AM

I'm fairly certain I had tried the 'easy way' by unpacking the app and trying to run it with the newer frameworks, but it didn't help what I was trying to solve. Only by restoring the frameworks as well, was I then able to get this Java app to load that was stalling in 5.1 (which the Java devs have now fixed on there end). Anyway the simpler method of restoring only the app might work in some cases... BTW What's the link for that hint?



[ Reply to This | # ]
New for 6.1
Authored by: joelbruner on Nov 14, '13 01:08:27PM
Rixstep noticed the tar.gz location has changed for Safari 6.1 and the name changes depending on your platform (he also noticed some other stuff)

The code for Safari 6.1 is this:
#version detection can be automated but for brevity fill this value in by hand
majorMinorVersion="10.x"
sudo tar -xvf /Library/Application\ Support/Apple/.Safari6.1-"$majorMinorVersion"Archive/SafariArchive.tar.gz -C /
Edited on Nov 14, '13 01:35:27PM by joelbruner


[ Reply to This | # ]