Error: %pre(CARKaim-9.60-0.9.x86_64) scriptlet failed, exit status 1

Error: %pre(CARKaim-9.60-0.9.x86_64) scriptlet failed, exit status 1

116
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:06 PM


Symptom


This error will be seen while installing CP on Linux machine
To accept the license, open the /var/tmp/aimparms configuration file and set the AcceptCyberArkEULA parameter to Yes. 
error: %pre(CARKaim-9.60-0.9.x86_64) scriptlet failed, exit status 1 
error: CARKaim-9.60-0.9.x86_64: install failed


Environment


N/A

Cause


The CARKaim rpm installation get failed

Resolution


This error occurs when you edit aimparms file on Windows with simple editor like notepad.
This will change the line returns to Windows format from Linux.Please find the example below to see the line break characters included in aimparms file

Example:-
bash-4.2$ cat -vet aimparms
[Main]^M$
AcceptCyberArkEULA=Yes^M$
#CreateVaultEnvironment=yes^M$
LicensedProducts=AIM^M$
CredFilePath=/var/tmp/Rhel_EPV_CP/user.ini^M$

 There are two ways to resolve the this error
  1.  Copy the parms file directly from the zip to the Linux server and use vi or nano to edit the file
  2.  Please perform the following command to change the windows format file to Linux i.e. Dos2Unix aimparms


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001O57CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail