Posted on 06-07-2016 05:13 AM
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...
Solved! Go to Solution.
Posted on 06-07-2016 08:25 AM
"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.
Posted on 06-07-2016 08:17 AM
Dump the "sudo". Try again.
Just ran this OK:
softwareupdate -i iTunesX-12.4.1
Posted on 06-07-2016 08:25 AM
"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.
Posted on 06-07-2016 11:21 PM
Yep, it's ok with just :
softwareupdate -i iTunesXPatch-12.4.1
I thought I already tested that.
Thanks ! :-)