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
- Copy the parms file directly from the zip to the Linux server and use vi or nano to edit the file
- Please perform the following command to change the windows format file to Linux i.e. Dos2Unix aimparms