You can remove ~/.julia/registires/General and it will be reinstalled. Before you do it would be interesting to see the output of git status in that folder to understand why it became dirty.
C:\Users\plowman\.julia\registries\General>git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: Q/QRupdate/Compat.toml
deleted: Q/QRupdate/Deps.toml
deleted: Q/QRupdate/Package.toml
deleted: Q/QRupdate/Versions.toml
The same exact problem happened to me after a package update, for what it’s worth. Deleting the General folder and updating again doesn’t resolve the issue (it’s dirty in the same way after updating).
Somewhat embarrassingly, I have almost no understanding of things git and I don’t manually dabble there.
I literally just use Pkg.add() and Pkg.update().
Removing ~/.julia/registries/General followed by Pkg.update() fixed the problem.
Washed and clean!
Correct, this should not be allowed. Case-insensitive file systems cannot handle this. The commit on metadata that added a different case of the same name should be reverted and we should add a registration check preventing this.
Shouldn’t that happen with the UUID being what determines the package and not the name? This is actually nice, since this is the first time in the registry where there are multiple packages “conflicting” (here is not even the actual same name). I asked shortly before stdlib/Pkg, but I think it is still relevant… The way the registry is set up it stores the files based on the name rather UUID so this could be problematic. Should it be resolved after dropping METADATA and METADATA compatible UUID?
I am experiencing the same issue. However, if I delete the folder General, Julia (v1.0.0) does not reinstall it.
In registries/General/Q I do have QRUpdate instead of QRupdate as I understand from the discussion. Manually renaming the folder does not help.
Any idea how to reset the General folder (or simply the QRUpdate one) ? Equivalently, how to ask Julia to re-install General after removing it ?
@greg_plowman No I did not want to upgrade just yet. I feel that if I do it now, by a year from now I will have many Julia installed and I am not sure how that works.
@kristoffer.carlsson Fantastic, that worked. Thank you very much! What a headache that was for me