Posted on 08-22-2009 07:03 PM
Is it possible to cache software updates directly from an internal SUS, or do I have to download each Apple update package manually and cache it?
Jeffrey A. Strauss
Department of Educational Technology
Systems Administrator
Loyola High School of Los Angeles
1901 Venice Blvd.
Los Angeles, Ca 90006
(213) 381-5121 x265
Please consider the environment before printing this e-mail.
Posted on 08-23-2009 06:38 AM
If I'm understanding you correctly the answer is no. I'm not aware of a way to cache from a SUS. If you wanted to cache an update from Apple you would need to do it as described, add each one to the JSS you would like to treat like a regular package.
Craig Ernst
UW-Eau Claire
(715) 836-3639
Sent from my iPhone
Posted on 08-24-2009 07:02 AM
Hey,
I can think of one way, but it's a little convoluted. It may be worth testing if your need is to cache Apple SWUs, and you *really* want to avoid downloading the .pkgs and adding them to the JSS. Personally, I'd probably just download the SWUs and add them to the JSS, but I'm all for eliminating manual processes.
The command:
softwareupdate -d --all
will download all available updates to the Downloads folder. (First item to test... do these go to /var/root/Downloads when run with a script as root?)
You can then use two "for" loops. The first to install all of the .pkgs, the second to delete them (to keep things clean, and prevent reinstalling old updates).
...just a thought.
--
Miles Leacy
Technical Training Manager
Mobile (347) 277-7321
miles at jamfsoftware.com
....................................................................
JAMF Software
1011 Washington Ave. S
Suite 350
Minneapolis, MN 55415
....................................................................
Office: (612) 605-6625
Facsimile: (612) 332-9054
....................................................................
US Support: (612) 216-1296
UK Support +44.(0)20.3002.3907
AU Support +61.(0)2.8014.7469
....................................................................
http://www.jamfsoftware.com