mpanighetti / install-or-defer

A framework for prompting users of Jamf Pro-managed Macs to install Apple software updates.
Apache License 2.0
148 stars 28 forks source link

added CatalogURL retention #78

Closed mpanighetti closed 2 years ago

mpanighetti commented 2 years ago
master-vodawagner commented 2 years ago

So far this fix seems to be hold up and working on my Intel device, I've got 48hours left to defer before it automatically installs.

I need to try this on an Apple Silicon beta Mac too

master-vodawagner commented 2 years ago

@mpanighetti It was working on my Silicon device but Yesterday or today Apple released Monterey 12.3 beta 5 and the script detected no updates so unloaded. 1 minute later System Preferences showed the red dot and detected 12.3 beta 5

This feels like a time lag issue between clearing the update cache and "Checking for pending system updates" softwareupdate -l running

mpanighetti commented 2 years ago

I recently changed the sleep timer to 30 before checking for pending updates, could increase back to 60 if it's a matter of needing more time for the daemon to load.

master-vodawagner commented 2 years ago

I recently changed the sleep timer to 30 before checking for pending updates, could increase back to 60 if it's a matter of needing more time for the daemon to load.

hmm I manually changed it 120....... Hopefully this is a "niche" scenario as updates on the beta channel are more frequent. I'll try again and wait for 72hours to defer for this new beta. Shouldn't get another beta release for a week or 2

master-vodawagner commented 2 years ago

@mpanighetti My Intel device powered through the transition from Beta 4 to Beta 5 with no issues (18 hours left to defer)........ Maybe this is unique to Apple Silicon?

master-vodawagner commented 2 years ago

Working on Intel and Silicon devices for me