run update-alternatives in no input mode

(not 100% this works)
Merge pull request #3294 from dimagi/fix-travis

run update-alternatives in no input mode