-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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.rm sometimes has to be run twice #7757
Comments
Is |
Yes, on my system I also have Interact installed. |
Did it actually remove |
Yes |
What's in your |
I've seen the same behavior when developing on AudioIO. I also haven't nailed down a reproducible case, but I think it might have to do with having |
If it matters, the REQUIRE for AudioIO is:
|
|
I think he was asking for the contents of |
@jiahao Fixed that, thank you! I want to accept only |
0.3- catches 0.3 preleases also but nothing in 0.2.x. 0.3 only matches the final release. |
Hmm... my I think we're on to something:
|
(sidenote: misunderstanding of what |
This misunderstanding has often given me cause to consider how else to do this, but I've never come up with anything better. Part of the confusion is what |
maybe we could use some more characters to be more explicit about wanting a range? e.g. |
Yes, that's possible, but I'm not eager to complicate the parser like that. |
Ok, back to the original problem:
julia> Pkg.update()
INFO: Initializing package repository /Users/jiahao/.julia/v0.3
INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl
INFO: Updating METADATA...
INFO: Computing changes...
INFO: No packages to install, update or remove
julia> Pkg.clone("https://github.com/shashi/Interact.jl.git") #Pkg.add something else works too
INFO: Cloning Interact from https://github.com/shashi/Interact.jl.git
INFO: Computing changes...
INFO: Installing React v0.1.3
shell> cat ~/.julia/v0.3/REQUIRE
julia> Pkg.rm("React")
INFO: Removing React (unregistered)
julia> using Interact
ERROR: React not found
julia> Pkg.add("React"); Pkg.clone("https://github.com/shashi/Interact.jl.git")
...
shell> cat ~/.julia/v0.3/REQUIRE
React
julia> Pkg.rm("React")
INFO: No packages to install, update or remove
INFO: Package database updated
shell> cat ~/.julia/v0.3/REQUIRE
julia> Pkg.rm("React")
INFO: Removing React (unregistered) |
I just re-discovered this while working on doing something about #7054. @StefanKarpinski what's the desired behavior here? We have:
The first time you run |
I can't quite pin down why this happens, but I see this quite often:
The text was updated successfully, but these errors were encountered: