ITCM Linux Agent - installation fails - Couldn't create temporary file

Document ID : KB000103856
Last Modified Date : 29/06/2018
Show Technical Document Details

Installation of ITCM Agent on Linux is failing during installation of ca-cs-utils with error
Couldn't create temporary file for %pre(ca-cs-utils-11.2.12235-1001.i386): Success
  install: %pre scriptlet failed (2), skipping ca-cs-utils-11.2.12235-1001
Script or command "rpm -i "/tmp/linux_agent_14SP2/ca-cs-utils-11.2.12235-1001.i386.rpm"" failed with exit code 1.
Reason:         The script or command encountered a problem.
Action:         Find further details in the installation log file

This error occurs because rpm could not find or create the directory /var/tmp

Check if there is a directory or file tmp under /var

If there is a file with name tmp (/var/tmp), delete it and create the directory tmp :
rm /var/tmp
mkdir /var/tmp