Recent small series of ubuntu compile environmental problems, leading to reload. Upgrade from version 12.04 to 16.04. Resulting in many incompatibility problems, the following shell script to talk about the problem of incompatibility
Problems such as:
"[: XXXX: unexpected operator" issue
solution:
The interpreter Ubuntu connected to modify the default bash
sudo dpkg-reconfigure dash
Select No enough. This completes the handover to the bash.