may be OT: Software update discrepancies

rseide
Contributor

I've set up a policy that will check for software updates and install them based on user interaction. The script and set up I found in this thread: https://jamfnation.jamfsoftware.com/discussion.html?id=5890 - specifically in UESCDurandal's post. I cut and pasted the script and set up the 2 part policy according to his instructions.

The policy works fine except the script doesn't detect any software updates even though there are updates showing up in the App Store app and when you check via "Software Update...". I verified this on 3 machines. I've only tested this policy on those 3, btw.

On those machines, I opened terminal and ran ```
sudo softwareupdate -l
``` and even that didn't detect the software updates. These are OS X updates I'm referring to.

One machine needed a Safari and iPhoto update, according to the App Store app so I manually ran the policy. It said there were no updates available afterwards it ran. Then I went back to the App Store app and refreshed the update screen and those updates were gone. I ran the terminal command above and once again, it said no updates were available.

We do not have an internal SUS. We are using Apple's.

I have not tested this policy on any other machines so I don't know if this is pure coincidence that I picked 3 machines that may have an issue regarding software updates but I find it odd the ```
softwareupdate
``` command didn't detect anything when the App Store app showed updates are available.

Any ideas?

2 REPLIES 2

Marcel_75
New Contributor

Have seen similar problems here, maybe the Casper Suite 8.7 will fix this?

It will fix an issue that prevented the jamf binary from properly setting the software update server on OS X v10.8.2 and v10.8.3 computers using a policy.

We use an internal SUS, but I have also seen updates by softwareupdate -l on some machines but these clients doesn't show up in our defined smart group for Software-Updates (where they should be of course if softwareupdate -l checked there are updates).

rseide
Contributor

So another problem I am running into is no software updates are actually being installed.

I am testing the policy I created and even made a plain vanilla Software Update policy that's available via SS like the one Don made in the link and nothing gets installed.

I ran the policies via terminal and can see the them running along with the script that's part of the 2 part process that UESCDurandal provided. But after the policies are done, I go back to check to see if updates are available and they're still there. The same thing happens with the package I download from SS.

I checked the logs in JSS and this is what I see:

/usr/sbin/jamf is version 8.63
Executing Policy Run Software Update...
Installing all available Software Updates...
Result of Software Update: Updates are being installed by uid 0 (pid 1075)
Software Update Tool
Copyright 2002-2010 Apple

But again, when I check for updates, they're still there. No updates were installed.

Please assist. Thanks so much!