Need help interpreting a PKG error

adamberns
New Contributor III

So we have this PKG that calls a separate installer. The idea is that this stub downloads an app installer and then starts the downloaded app in a second process. When I run the command with sudo jamf policy it works fine, or even when I run sudo installer -pkg. However, if I let JAMF do it's own thing, I get the following error.

Installation failed. The installer reported: installer: Package name is Logi Sync Provision Stub
installer: Upgrading at base path /
installer: The upgrade failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

Besides the logs that JAMF returns is there anything else I can look for.

2 REPLIES 2

adamberns
New Contributor III

I found what I was looking for in var/log/install.log

shhtephe
New Contributor II

Hey Adam, I'm having the same problem. I checked the logs and it looks to be failing at 

 

postinstall: line 58: /Library/Application Support/Logitech/LogiSync/user_name.txt: No such file or directory
 ./postinstall: user_name:
 ./postinstall: Username is root or unknown.

 

My guess is that because it's being installed by root, it doesn't know which username to use for provisioning. Is that the issue you came across? If so, what was your solution? Thanks a ton in advance.