fix update-alternatives.