Softwareupdate Broadcasts Errors after Running Software Update Policy on New Sierra Macs

cyberook
New Contributor

Hi All,

I've got two brand new machines (a Mini and a MacBook Air) that came preinstalled with Sierra. Once I run Recon followed by "sudo jamf policy", it runs most of the Policies as expected. However, once we get to running Software Updates, the terminal throws up a bunch of broadcast messages, throws up a bunch of error chimes, and never completes. I can eventually cancel out, but it will repeat at each check-in - bonging if I leave the terminal open. We're running Casper Suite 9.96. Here's the output:

Executing Policy Software Update
Setting Software Update preferences to apple.com for all accounts...
Installing all available Software Updates...

Broadcast Message from admin@itmac1                           
        (no tty) at 15:21 CST...                                               

Jan 12 15:21:11 itmac1 softwareupdated[403]: Adding client SUUpdateServiceCl
ient pid=8058, uid=0, installAuth=NO rights=(), transactions=0 (/usr/sbin/softw
areupdate)                                                                     

Broadcast Message from admin@itmac1                           
        (no tty) at 15:21 CST...                                               

Jan 12 15:21:11 itmac1 softwareupdated[403]: SUScan: Scan for client pid 403
 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareu
pdated)                                                                        

Broadcast Message from admin@itmac1                           
        (no tty) at 15:21 CST...                                               

Jan 12 15:21:11 itmac1 softwareupdated[403]: SoftwareUpdate: Catalog Not Mod
ified since last scan ("62125-545e9e26c5400")                                  

[Okay..... I'm deleting all the broadcast messages going forward to save space...]                                             

Jan 12 15:21:11 itmac1 softwareupdated[403]: SUScan: Using catalog https://s
wscan.apple.com/content/catalogs/others/index-10.12-10.11-10.10-10.9-mountainli
on-lion-snowleopard-leopard.merged-1.sucatalog.gz                              

Jan 12 15:21:24 itmac1 softwareupdated[403]: SUScan: Elapsed scan time = 12.6                                                                              

Jan 12 15:21:24 itmac1 softwareupdated[403]: Scan (f=1, d=0) completed      

Jan 12 15:21:24 itmac1 softwareupdated[403]: 0 updates found:               

Result of Software Update: No updates are available.
Software Update Tool
Copyright 2002-2015 Apple Inc.

Finding available software

Software update finished. Reboot is not required.
Mounting [JSS] to /Volumes/CasperShare 5...

Jan 12 15:21:24 itmac1 softwareupdated[403]: Removing client SUUpdateService
Client pid=8058, uid=0, installAuth=YES rights=(system.install.apple-software, 
system.install.apple-software.standard-user, system.install.software, com.apple
.SoftwareUpdate.modify-settings), transactions=1 (/usr/sbin/softwareupdate)

[It then repeats from there unless Control-C it...]

If I run "defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL", I get:

2017-01-12 15:36:57.797 defaults[8445:66338] 
The domain/default pair of (/Library/Preferences/com.apple.SoftwareUpdate, CatalogURL) does not exist

Reading the whole file, I get:

{
    LastAttemptBuildVersion = 16A323;
    LastAttemptSystemVersion = "10.12.2 (16C67)";
    LastBackgroundSuccessfulDate = "2017-01-12 01:08:33 +0000";
    LastFullSuccessfulDate = "2017-01-12 21:34:09 +0000";
    LastRecommendedUpdatesAvailable = 0;
    LastResultCode = 2;
    LastSessionSuccessful = 1;
    LastSuccessfulDate = "2017-01-12 21:34:09 +0000";
    LastUpdatesAvailable = 0;
    RecommendedUpdates =     (
    );
    SkipLocalCDN = 0;
}

If I run "sudo softwareupdate --clear-catalog", I get the following along with another error chime:

Changed catalog to Apple production

Broadcast Message from admin@itmac1                       
        (no tty) at 15:41 CST...                                               

Jan 12 15:41:15 itmac1 softwareupdated[403]: BackgroundActivity: Got CheckFo
rCatalogChange

I get the same behavior if I run "sudo softwareupdate -ai" AFTER the policy runs, but had no problems if I ran it BEFORE running Recon.

So far, this is only happening on new Macs shipped with Sierra. Has softwareupdate changed? Do I need an even newer version of the Casper Suite/JAMF Pro? Am I simply missing a setting somewhere?

Thanks in advance,
Jon

1 REPLY 1

bentoms
Release Candidate Programs Tester

@cyberook For the Software Update policies, is it set to: optional image ALT text

If not, try that!

I'm not sure if you're hitting something similar to this.