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


Click here to return to the 'Run Software Update from the Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run Software Update from the Terminal
Authored by: artemio on Apr 09, '04 07:09:16PM
As several users have already pointed out, you can perform software updates in the command line with the command
/usr/sbin/softwareupdate
On the other hand, the Software Update program allows you to save to disk the update you're downloading by choosing "Install and keep" instead of just "Install". Although
man softwareupdates
does not list any similar options in the CLI utility,
softwareupdate --help
shows an additional option not mentioned in the man page, namely -d:

-d | --download Download (to directory set in InternetConfig) 
I've tried it several times and on several computers (all running 10.3.3). It always dies at 50% of progress with a "Bus error". The package, however, seems to be downloaded in full, only it's kept in the /tmp/ directory, and not moved to the download folder. Has anybody gotten this option to work?

Cheers,

Artemio Gonzalez

[ Reply to This | # ]

Run Software Update from the Terminal
Authored by: dmackler on Apr 10, '04 07:00:34PM

I've had the same problem (and the same solution - to look in /tmp) since Panther came out. And this was with an archive & install.

I though it might have been my preferences for the download directory. As there is no longer an Internet Config, I changed the download directory both in Safari and in IE. It made no difference. I also changed it from a folder on my second (data) drive to my desktop (on the main drive) thinking it might be a problem going across drives. Still no difference.

And then I just gave up.

---
David



[ Reply to This | # ]