Softwareupdate 10.15.7

asidhu
New Contributor III

Hi all, I am trying to use this script Install or Defer however it looks like it will not find any updates once the mac reaches 10.15.7 and as per what i found on jamf nation discussions was that it was a bug in that release causing softwareupdate --list not to find any updates. May I know what kind of workarounds did you all use to move past this via that script? I mean my goal is to get all the macs to 11.4 but without using any kind of complicated script. This was fine but now it just wont find any updates on 10.15.7 -.-

1 ACCEPTED SOLUTION

asidhu
New Contributor III

Hey, Sorry for the late reply but actually i have found the problem. It is my mistake as from 10.15.7 to Big sur is a software upgrade so it wasn't showing anything which is correct behavior.

View solution in original post

2 REPLIES 2

easyedc
Valued Contributor II

What happens if you run a simple

defaults read /Library/Preferences/com.apple.SoftwareUpdate.plist 

Do you show any ignored updates? 

I'm on the latest possible build of 10.15.7

{
    AutomaticCheckEnabled = 1;
    AutomaticDownload = 1;
    AutomaticallyInstallMacOSUpdates = 1;
    ConfigDataInstall = 1;
    CriticalUpdateInstall = 1;
    InactiveUpdates =     (
        "macOS Big Sur"
    );
    LastAttemptBuildVersion = "10.15.7 (19H1217)";
    LastAttemptSystemVersion = "10.15.7 (19H1217)";
    LastBackgroundSuccessfulDate = "2021-07-14 11:29:12 +0000";
    LastFullSuccessfulDate = "2021-07-14 13:58:26 +0000";
    LastRecommendedMajorOSBundleIdentifier = "";
    LastRecommendedUpdatesAvailable = 0;
    LastResultCode = 1;
    LastSessionSuccessful = 1;
    LastSuccessfulDate = "2021-07-14 13:58:26 +0000";
    LastUpdatesAvailable = 0;
    OneTimeForceScanEnabled = 1;
    PrimaryLanguages =     (
        en,
        "en-US"
    );
    RecommendedUpdates =     (
    );
}

But you'll see if it is also getting successful checks for updates as well with it's date of 

LastSuccessfulDate = "2021-07-14 13:58:26 +0000"

The easy fix is to just delete that preference and let it get a fresh check of updates. 

defaults delete /Library/Preferences/com.apple.SoftwareUpdate.plist 

or

softwareupdate --reset-ignored

 

asidhu
New Contributor III

Hey, Sorry for the late reply but actually i have found the problem. It is my mistake as from 10.15.7 to Big sur is a software upgrade so it wasn't showing anything which is correct behavior.