alire
alire copied to clipboard
Error encountered when installing a crate: "Mismatched branch in checked out community index"
Hello, After installing Alire on Ubuntu 18.04, and setting up a project, I get the following error when attempting to install a dependency:
ajxs@ubu:~/src/test_project$ alr with xmlada
error: /home/ajxs/.config/alire/indexes/community/repo: Mismatched branch in checked out community index:
error: Expected branch 'stable-1.1' but found 'stable-1.1':
error: If you have updated alr, you may need to reset the community index with 'alr index --reset-community':
error: Note that this operation will delete any local changes to the community index.
After running the suggested command to reset the community index, I get the same error. The error persists even when using other commands like show
, or build
.
Is there something simple I've missed? Any help would be greatly appreciated.
Try to remove the community
directory and reset community index
Unfortunately this does not resolve the issue. I get the exact same result after removing the community
directory, and resetting the community index.
It looks related to #796
I did see this issue before I raised mine. I'm not so sure. I'm not using MacOS, and this is the first thing I've ever done with Alire. All of this is occurring on a fresh install.