-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pkg.add("Distributions") ERROR: key not found: "Sampling" #262
Comments
This is weird. Neither |
I did that just now - nothing changed. I still get
it is very strange because my installation is brand new, so there shouldn't be any weird dependencies dangling around. what would you suggest next? |
maybe you can spot anything here?
|
Let me look into this. |
I can confirm this -- by using a brand new |
The issue looks like as follows:
However, the dependency analysis done within I will reinstate However, I think Julia base should allow an old dependency to be removed from METADATA without causing the failure of adding newer version of the package. cc: @StefanKarpinski |
@floswald I have reinstated |
Oh man its Stats/StatsBase all over again. The golden rule is "Never remove a package from METADATA, only deprecate". We need to put this somewhere so people who push direct to METADATA can see it. |
Good job @lindahua. All back online. |
That Golden Rule is kind of a bummer. We should see if we can make things a little more robust to removal of packages. |
If you remove a package, you have to remove all versions of other packages that depend on it – otherwise those versions will obviously be broken and uninstallable. I'm not sure how else things could possibly work. What you can do if you want to remove a package entirely is simultaneously remove all the versions of other packages that depend on it, or if they didn't really depend on it, remove the dependency from their requirements. Then everything should work. |
Probably better to continue the discussion in JuliaLang/julia#6669. |
I get this error when trying to install on a new installation. I suspect the error comes from here rather than GLM where I first registered this: JuliaStats/GLM.jl#81
The text was updated successfully, but these errors were encountered: