update-alternatives fails to run