How do I install SBAdmin software on Ubuntu?
When I try to install the software on my Ubuntu system, I get the following error:
$ sudo ./stinstall
./stinstall: 32: function: not found
./stinstall: 40: cleanup_netrc: not found
[: 40: 0: unexpected operator
The installation script that SBAdmin uses to install the software (stinstall) relies on a full-featured shell interpretor such as bash or ksh. Ubuntu changed their default shell from bash to dash. The dash shell interpretor is less feature rich and is not compatible with our installer.
You can change the default by re-linking /bin/sh to /bin/bash.
# dpkg-reconfigure dash
# ln -sf /bin/bash /bin/sh