you have to relink the /bin/sh to bash. It is currently linked to /bin/dash which is a striped down version of the bash shell. Once you relink them it will work just fine. Please see kb article below
Article ID: 32601
Attempting to install ADLagent on Ubuntu Linux fails
Applies To
• Deployment Solution
Problem/Symptoms
Attempting to install ADLagent on newer versions of Ubuntu fail.
Environment
Attempting to install ADLagent on Ubuntu 6.10 (Edgy) fails.
This might also be the case for other versions and flavors (distributions) of Linux.
Cause
In Ubuntu 6.10 the /bin/sh symbolic link refers to a stripped down shell (dash), that does not meet the requirements of the ADLagent installer, thus the install fails.
Resolution
Ubuntu is unsupported by Altiris but some users have gotten it to work:
To solve this issue point the symbolic link of /bin/sh to /bin/bash.
The steps to achieve this would be to;
* Remove the symbolic link /bin/sh
* Re-link /bin/sh with /bin/bash