Skip to main content
Solved

update iTunes with policy and Execute command


Forum|alt.badge.img+4

Hello,
I'm on JSS 9.92
I try to update some iMac (10.9.5) with execute commands in "Files and Processes":
sudo softwareupdate --install iTunesX-12.4.1

The policy is executed (status completed) but the update is always available in softwareupdate -l

What's wrong ?
Thanks for helping...

Best answer by Taylor_Armstron

"What he said".

Also easier to simplify the syntax and just use "-i". This is a straight copy/paste out of my policy to do the exact same thing you're trying:

softwareupdate -i iTunesXPatch-12.4

Sudo is always going to expect a password as the next argument.

View original
Did this topic help you find an answer to your question?

3 replies

scottb
Forum|alt.badge.img+18
  • Valued Contributor
  • 1285 replies
  • June 7, 2016

Dump the "sudo". Try again.

Just ran this OK:

softwareupdate -i iTunesX-12.4.1


Forum|alt.badge.img+15
  • Valued Contributor
  • 382 replies
  • Answer
  • June 7, 2016

"What he said".

Also easier to simplify the syntax and just use "-i". This is a straight copy/paste out of my policy to do the exact same thing you're trying:

softwareupdate -i iTunesXPatch-12.4

Sudo is always going to expect a password as the next argument.


Forum|alt.badge.img+4

Yep, it's ok with just :

softwareupdate -i iTunesXPatch-12.4.1

I thought I already tested that.
Thanks ! :-)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings