Copy link to clipboard
Copied
I'm having problems installing Adobe packages using an ansible task. When I run the command in Terminal over SSH it installs correctly, but not as part of a playbook.
Playbook except:
Error message from being run in verbose mode:
installer: Package name is AcrobatDC_macos_x86-64-v2021-05
installer: Upgrading at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing AcrobatDC_macos_x86-64-v2021-05….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
installer: Validating packages….....
#
installer: The upgrade failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “AcrobatDC_macos_x86-64-v2021-05_Install.pkg”.)non-zero return code
I get the same error when I update the xxxx.pkg/Content/Info.plist with and without the <key> InstallLanguage </key> and the <key>IFPkgFlagDefaultLocation</key> being set.
Any insights from the community would be appreciated.
Copy link to clipboard
Copied
do you have a team or enterprise subscription?
Copy link to clipboard
Copied
The school that I work for has an enterprise license. The Package that was created is also configured for a shared device license.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I looked at that documentation before I posted. I'm confused why when I use SSH and do the installation via command line it works fine. On the otherhand, when I run the same command as the same user on the same system via ansible I get error message. I just seems very weird.
I'd really love this process could be as simple as install the install the Creative Cloud with the shared device license and then via command line tell the Creative Cloud application to download the latest version of whatever software is in my license. I mean it seems silly that you can download/install new software via the GUI but not the command line.
Copy link to clipboard
Copied
Hello,
Please check if you are able to install it without using ansible, using only the terminal. Make sure to close Safari and Microsoft apps before installing the Acrobat package.
Copy link to clipboard
Copied
I'm able to install the package on the system by running the following command "sudo installer -pkg /Users/test_user/AcrobatDC_macos_x86-64-v2021-05_Install.pkg -target /" this works fine locally in Terminal and remotely using SSH. The problem seems to manifest when I'm pushing this command out as part of an ansible playbook.
As for Safari and Microsoft, I've rebooted the system, remotely logged in using SSH (there's no user signed into the GUI), so those applications aren't running on the system.