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


Click here to return to the 'softwareupdate -q' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
softwareupdate -q
Authored by: TigerKR on Nov 08, '04 07:32:42PM

•A
Thanks for the correction about the possibility for PIDs to wraparound.


•B
From http://www.bombich.com/mactips/commands.html

"some updates may require that the user agree to a license agreement or otherwise provide feedback. In a command-line automated environment, this is unnacceptable. To get around this, execute the following command or add this to your script before running softwareupdate:"

"setenv COMMAND_LINE_INSTALL 1    (if using csh or tcsh)
COMMAND_LINE_INSTALL=1 export COMMAND_LINE_INSTALL    (if using bash or sh)"

I guess I could just alter the command I was using to be this (similar to what a user posted in the comments above):

sudo COMMAND_LINE_INSTALL=1 export COMMAND_LINE_INSTALL; sudo softwareupdate -i -a; sudo diskutil repairPermissions /


•C
Regarding the "softwareupdate -q" suggestion, it is my understanding that will suppress command line feedback, such as "Downloading xxxx" and "Installing xxxx....10%...20%" and so on. I don't believe that it will suppress the popup.



[ Reply to This | # ]
softwareupdate -q
Authored by: orpy on Nov 09, '04 12:18:00PM

You wrote: "Regarding the "softwareupdate -q" suggestion, it is my understanding that will suppress command line feedback, such as "Downloading xxxx" and "Installing xxxx....10%...20%" and so on. I don't believe that it will suppress the popup."

Yes, apologies. I knew there was an answer - because I have to do this every time I update our Xserve. But having checked my notes I've realised that I just kill the QTInstaller process as was suggested in the original post :-(

Sorry...

---
--
Martin



[ Reply to This | # ]