Unable to deploy upgrade of Safari

pty10
New Contributor III

We have some old white Macbooks running 10.7.5 and I need to update Safari on them. Because the computers are running 10.7.5 (no intention on upgrading the OSX at this stage since those MacBooks only have 2GB of memory) the latest Safari version I can get on them is 6.1.6

Using composer on a MacBook (started a normal snapshot, ran software update on the MacBook to upgrade to Safari 6.1.6 and finalized the snapshot) I created the package. Safari on the MacBook is upgraded to 6.1.6 however when I try to run the package locally on a different computer or try to deploy the package via Self Service, it doesn't update the version of Safari to 6.1.6

Wondering If I'm doing it right. Using Casper 9.6

Thanks Guys,

Henry

1 ACCEPTED SOLUTION

jcompton
Contributor

Best practice is to use the REAL pkg from Apple for Safari. How do you get that?

Good discussion here -- https://jamfnation.jamfsoftware.com/discussion.html?id=5899

The short of it -- This URL should work for you -- http://swcdn.apple.com/content/downloads/43/04/031-05867/xcrpn0l2nziw9mglb0gksv2rndu0nquggd/Safari6.1.6Lion.pkg

How did I do that?

  1. Get software update catalog file -
    strings /System/Library/PrivateFrameworks/SoftwareUpdate.framework/SoftwareUpdate | grep https://swscan
  2. Depending on your setup - you may see a list of URLs when running that command
  3. Determine which one is correct for you - should be - https://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  4. Enter catalog URL in browser
  5. Open file in a text editor (eg Text Wrangler)
  6. Search file for "Safari" and find the right URL for the right pkg version
  7. Download the file

View solution in original post

5 REPLIES 5

davidacland
Honored Contributor II
Honored Contributor II

The process itself should work as packages simply "dump" the files into location, over-writing anything in their way.

It could be composer is missing some files, I would try using a "new & modified" snapshot instead.

calumhunter
Valued Contributor

http://s.sudre.free.fr/Software/Packages/about.html

just drag safari onto packages it will create a pkg for you
no mess no fuss
correct CFBundleVersion ;)

jcompton
Contributor

Best practice is to use the REAL pkg from Apple for Safari. How do you get that?

Good discussion here -- https://jamfnation.jamfsoftware.com/discussion.html?id=5899

The short of it -- This URL should work for you -- http://swcdn.apple.com/content/downloads/43/04/031-05867/xcrpn0l2nziw9mglb0gksv2rndu0nquggd/Safari6.1.6Lion.pkg

How did I do that?

  1. Get software update catalog file -
    strings /System/Library/PrivateFrameworks/SoftwareUpdate.framework/SoftwareUpdate | grep https://swscan
  2. Depending on your setup - you may see a list of URLs when running that command
  3. Determine which one is correct for you - should be - https://swscan.apple.com/content/catalogs/others/index-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
  4. Enter catalog URL in browser
  5. Open file in a text editor (eg Text Wrangler)
  6. Search file for "Safari" and find the right URL for the right pkg version
  7. Download the file

RobertHammen
Valued Contributor II

I assume the update is available from Software Update but isn't a standalone download from support.apple.com?

the command-line softwareupdate command has a download option.

softwareupdate -l (that's a lowercase letter L, as in list) will present the list of available updates.
softwareupdate -d <nameofupdate> will download the software to /Library/Updates

Composer is really not well suited to complex or OS-level updates like this. YMMV.

pty10
New Contributor III

Thanks for the reply guys, ended up with jcompton suggestion, made a small modification and it worked great

Thanks,

Enrique