Import "try" function from fahinstall.

This is to allow apt-get retries.
hfminstall 1.1