Closed Dharmeshcomputer closed 2 years ago
Hi! Could you give a little more information on the issue you're running into and which version of macOS your Mac is running? I'd recommend giving the latest release a try, which adds more customization options and improves stability on Apple Silicon Macs. Also, if you're editing the script for your environment, give the unmodified release a try and see if it behaves any better, as that can sometimes reveal issues with script modifications or deployment methods. Keep me posted!
The New release is giving an error. We have a locked software update option in system preferences, it's, again and again, poping up to go there. Screenshot attached. one more thing " sudo softwareupdate -a -i --restart" is working fine. but need to create policy in JamF.
Oh interesting. This workflow didn't take into account that folks might be blocking the Software Update preference. You could change the wording of the alert text to remove references to the manual update option if you don't want to direct folks there, at least on Intel Macs; Apple Silicon Macs will need the user to manually apply the update via the System Preferences UI; see the README for the rationale behind this behavior.
Added a note to Limitations on the README to clarify that running this script on Apple Silicon Macs requires the user to have a secure token, volume ownership, and the ability to open the Software Update preference pane. Thanks for flagging this behavior!
unable to update security patch