mm2270/JamfProScripts

Selectable Software Updates not working with 10.13.3 Supplemental Update

Opened this issue · 2 comments

It seems the 10.13.3 supplemental update is not working well with the script, it prompts to install it, and if you do so it immediately goes to reboot but never triggers the install.

Seeing this issue as well. Some details we have found, there is something going on with the name of the updates to download

  • UpdateName='macOS High Sierra 10.13.4 Update ( )'
  • echo 'Now installing macOS High Sierra 10.13.4 Update ( )...'
    Now installing macOS High Sierra 10.13.4 Update ( )...
  • /Applications/Utilities/cocoaDialog.app/Contents/MacOS/cocoaDialog progressbar --title '' --text ' Preparing to install selected updates...' --posX center --posY 198 --width 450 --float --icon installer
  • /usr/sbin/softwareupdate --verbose -i 'macOS High Sierra 10.13.4 Update-'
  • read line
    ++ ps axc
    ++ grep cocoaDialog
    ++ wc -l
    ++ sed 's/^ *//'
  • [[ 2 != \2 ]]
    ++ echo 'macOS High Sierra 10.13.4 Update-: No such update'

So looking manually we see after softwareupdate -l

Software Update found the following new or updated software:

  • macOS High Sierra 10.13.4 Update-
    macOS High Sierra 10.13.4 Update ( ), 2299964K [recommended] [restart]

Then trying to just download them manually

bash-3.2# softwareupdate -d "macOS High Sierra 10.13.4"
Software Update Tool

macOS High Sierra 10.13.4: No such update
No updates are available.
bash-3.2# softwareupdate -d "macOS High Sierra 10.13.4 Update"
Software Update Tool

macOS High Sierra 10.13.4 Update: No such update
No updates are available.
bash-3.2# softwareupdate -d "macOS High Sierra 10.13.4 Update-"
Software Update Tool

macOS High Sierra 10.13.4 Update-: No such update
No updates are available.
bash-3.2# softwareupdate -d "macOS High Sierra 10.13.4 Update ( )"
Software Update Tool

macOS High Sierra 10.13.4 Update ( ): No such update
No updates are available.

So yeah, have tried playing around with different versions of the update name, nothing seems to work...

Should be fixed by #15