You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

system_profiler SPApplicationsDataType results in no output.

I manage a few OS X 10.8 systems and use a Dell K1000 appliance to manage them and install patches. The patch runs are "failing" on some of these systems because the new software (i.e. Safari) version is not detected, so the patch install runs (successfully), but then detects that the software still hasn't upgraded.


After some digging around, I've come to the conclusion that it's using system_profiler SPApplicationsDataType to determine what's installed and if the version is correct. And on the systems in question, this command returns nothing.


I assume there's a plist somewhere in /Library that somehow got blown away, so I would like to figure out how to repopulate it.


Interestingly, the K-1000 does list about 100 software packages on these systems, but not the nearly 250 that are on a clean Mac.

OS X Mountain Lion (10.8)

Posted on Aug 28, 2014 3:18 PM

Reply
1 reply

Nov 18, 2014 8:04 PM in response to TomKS

Solved the problem a while ago and forgot to follow up.


User home directories are NFS mounted and *huge* so we turned off spotlight due to performance issues and not really needed in our environment. Unfortunately, system_profiler uses spotlight, so configured it to only look on the system disk and everything now works.

system_profiler SPApplicationsDataType results in no output.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.