When installing Sophos Anti-Virus for Linux/UNIX the following error message is encountered:
Unable to create temporary library directory (is /tmp full?)
First seen in
Sophos Anti-Virus for Unix
Sophos Anti-Virus for Linux
There are a couple of possible causes for this error, as the message suggests it can simply be caused by lack of disk space in /tmp.
However this issue has also been seen if installing Sophos Anti-Virus on a AIX computer running software from Hitachi called JP1 (http://www.hitachi.com/products/it/software/prod/jp1/index.html). JP1 sets its own mktemp value in the system path.
What To Do
You can check the amount of space used in /tmp by running the following command:
If you use the JP1 software then use the following commands to enable an update to run using the specified path:
PATH=/bin:/usr/bin:/usr/sbin:/sbin savupdate -v5
This would need to be run manually.