Hello all you friendly Jamf admins! I've got a problem that's stumping me and my colleague, hoping somebody here can shed some light.
Recently (starting last week), I have begun encountering an issue where running sudo jamf policy produces unexpected results. When run locally, policies will fail. They attempt to run, and produce the following output, using Firefox as an example:
Installing Firefox ESR 115.4.0...
Installation failed. The installer reported: installer: Package name is Firefox
installer: Upgrading at base path /
installer: The upgrade failed. (The Installer encountered an error that caused the installation of fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)
This occurs with both Chrome and Firefox, both of which I recently packaged. This occurs with both Patch Management Policies and regular Policies. I created the packages in Composer from my Applications folder, with 755 root:wheel permissions, the same way I have for all previous packages I've made. These just recently started to fail. Older packages still successfully install. I haven't changed any settings in Jamf Pro or Composer.
What's really throwing us for a loop is that if I SSH into these machines and run a policy update, the packages install with no problem. It's just running the command locally that it fails. I'm logged in with the same account in both places, a local admin.
The install.log mentions that the failing packages aren't signed:
trust evaluation failed: Error Domain=PKInstallErrorDomain Code =101 "The package "Firefox _ESR_115.4.0.pkg" is not signed."
but I've never signed these packages before and they worked just fine.
If this rings a bell for anyone that's encountered this before and could point me in the right direction, I would be very grateful. Thanks!