Switch to using update-alternatives, instead of alternatives, so we work on platform_family = debian