This worked for me on a clean install of Mojave
sudo softwareupdate --ignore 'macOS Catalina'
But there is a per user preference file that needs hosing to get rid of notification if software update already ran before you did the ignore
sudo softwareupdate --ignore 'macOS Catalina'
defaults delete com.apple.systempreferences AttentionPrefBundleIDs
defaults delete com.apple.systempreferences DidShowPrefBundleIDs
defaults write com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier com.apple.InstallAssistant.Mojave
defaults write com.apple.preferences.softwareupdate ProductKeysLastSeenByUser 061-21551
killall Dock
Thanks to bernuli for identifiing the plist responsible, here is the solution:
Domain (com.apple.systempreferences) not found.
Defaults have not been changed.
That error just states there isn't a value to be deleted, I included it just in case there was.I don't know if the two errors are connected in any way.
cp ~/Library/Preferences/com.apple.preferences.softwareupdate.plist ~/Desktop/com.apple.preferences.softwareupdate.plist
rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
That error just states there isn't a value to be deleted, I included it just in case there was.
As bernuli mentioned, ~/Library/Preferences/com.apple.preferences.softwareupdate.plist can be deleted. It will be recreated by Software Update if there is a new update.
Try to make a copy
and delete itCode:cp ~/Library/Preferences/com.apple.preferences.softwareupdate.plist ~/Desktop/com.apple.preferences.softwareupdate.plist
I have a virtual machine with Mojave developer beta and Software Update corectly shows the updates and the notification, but not Catalina.Code:rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
View attachment 869766
sudo softwareupdate --ignore 'macOS Catalina'
defaults delete com.apple.systempreferences AttentionPrefBundleIDs
defaults delete com.apple.systempreferences DidShowPrefBundleIDs
rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
killall Dock
I think the best approach to ignore Catalina and stop the badge is the following 4 steps. I have tested this out a bit and it seems like simplest solution and least likely to break anything else. Probably might need to change these steps as future macOS releases come out. For now though, this is good for those running Mojave and don't want to upgrade to Catalina.
1) QUIT System Preferences (If the next 3 steps are executed with System Preferences running, you could confuse things.)
2) sudo softwareupdate --ignore "macOS Catalina"
3) defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
4) softwareupdate --list
For me badge disappeared immediately after step 4
note: only use sudo for the --ignore.
Deleting only that might leave ProductKeysLastSeenByUser 061-18881 in the file. That is Catalina, but might not be important.3) defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
killall "System Preferences"
sudo softwareupdate --ignore 'macOS Catalina'
defaults delete com.apple.systempreferences AttentionPrefBundleIDs
defaults delete com.apple.systempreferences DidShowPrefBundleIDs
rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
killall Dock
Deleting only that might leave ProductKeysLastSeenByUser 061-18881 in the file. That is Catalina, but might not be important.
Probably the safest way is to just delete com.apple.preferences.softwareupdate.plist So:
Code:killall "System Preferences" sudo softwareupdate --ignore 'macOS Catalina' defaults delete com.apple.systempreferences AttentionPrefBundleIDs defaults delete com.apple.systempreferences DidShowPrefBundleIDs rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist killall Dock
May I ask you how you used to disable all notifications of updates in the AppStore, as you say you did, in previous MacOS ?Does anybody know the command for disabling the bubble inside the App Store icon in Dock? The new iMovie update supposedly breaks compatibility on unsupported Macs because it requires Metal. So I'll probably never update again on my early iMac 2009. I know on El Capitan and previous OS X version one could disable update notifications within the App Store but that does not seem to work anymore.
You can delete it withDoes anybody know the command for disabling the bubble inside the App Store icon in Dock?
defaults delete com.apple.AppStore appStoreBadgeCount; defaults delete com.apple.appstored BadgeCount; killall Dock
defaults write com.apple.AppStore appStoreBadgeCount -int 0; defaults write com.apple.appstored BadgeCount -int 0; killall Dock
Thanks to bernuli for identifiing the plist responsible, here is the solution:
Code:sudo softwareupdate --ignore 'macOS Catalina' defaults delete com.apple.systempreferences AttentionPrefBundleIDs defaults delete com.apple.systempreferences DidShowPrefBundleIDs defaults write com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier com.apple.InstallAssistant.Mojave defaults write com.apple.preferences.softwareupdate ProductKeysLastSeenByUser 061-21551 killall Dock
defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
defaults delete com.apple.preferences.softwareupdate ProductKeysLastSeenByUser
Is this persistent over restarts?
Worked for me too. Thank you.I think the best approach to ignore Catalina and stop the badge is the following 4 steps. I have tested this out a bit and it seems like simplest solution and least likely to break anything else. Probably might need to change these steps as future macOS releases come out. For now though, this is good for those running Mojave and don't want to upgrade to Catalina.
1) QUIT System Preferences (If the next 3 steps are executed with System Preferences running, you could confuse things.)
2) sudo softwareupdate --ignore "macOS Catalina"
3) defaults delete com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier
4) softwareupdate --list
For me badge disappeared immediately after step 4
note: only use sudo for the --ignore.
Thanks to bernuli for identifiing the plist responsible, here is the solution:
Code:sudo softwareupdate --ignore 'macOS Catalina' defaults delete com.apple.systempreferences AttentionPrefBundleIDs defaults delete com.apple.systempreferences DidShowPrefBundleIDs defaults write com.apple.preferences.softwareupdate LatestMajorOSSeenByUserBundleIdentifier com.apple.InstallAssistant.Mojave defaults write com.apple.preferences.softwareupdate ProductKeysLastSeenByUser 061-21551 killall Dock
Automatic updates can be enabled, you can search for updates from the System Preferences or with sudo softwareupdate -l and Catalina and the notification will not show up again.
I updated without any issues. You can try the Download Security Update 2019-001 (Mojave) https://support.apple.com/kb/DL2024Outside of a complete restore from backup, can anyone suggest a solution to get it to install this update?
I updated without any issues. You can try the Download Security Update 2019-001 (Mojave) https://support.apple.com/kb/DL2024