Use /usr/sbin/update-alternatives on ubuntu