Closed goedman closed 7 years ago
@tkelman this must be caused from the METADATA pull request yesterday, but I'm surprised it's giving that error. Any thoughts on what's going on?
what commit in metadata are you on, any local modifications in git status? what is Pkg.status?
This is what I see on my system. On a second system, with far fewer packages installed I get the same error message.
On Jan 18, 2017, at 13:16, Tony Kelman notifications@github.com wrote:
what commit in metadata are you on, any local modifications in git status? what is Pkg.status?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JuliaApproximation/ApproxFun.jl/issues/460#issuecomment-273604241, or mute the thread https://github.com/notifications/unsubscribe-auth/AADL6CqZrP50CMpfgm2mtNPVfNwFJRzlks5rToE5gaJpZM4LnIhX.
_
() | A fresh approach to technical computing () | () () | Documentation: http://docs.julialang.org | | | Type "?help" for help. | | | | | | |/ ` | | | | || | | | (| | | Version 0.5.0 (2016-09-19 18:14 UTC) / |_'|||_'_| | Official http://julialang.org/ release |/ | x86_64-apple-darwin13.4.0
julia> Pkg.status() 117 required packages:
julia> Pkg.add("ApproxFun")
ERROR: ApproxFun can't be installed because it has no versions that support 0.5.0 of julia. You may need to update METADATA by running Pkg.update()
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:483
in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at ./pkg/entry.jl:476
in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30
in (::Base.Pkg.Entry.##2#5{String,Base.Pkg.Types.VersionSet})() at ./task.jl:360
in sync_end() at ./task.jl:311
in macro expansion at ./task.jl:327 [inlined]
in add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:51
in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:31
in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:59
in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31
in add(::String) at ./pkg/pkg.jl:100
I suspect that downgrading Plots will fix it.
via Pkg.free, I suspect the same
Yes, Pkg.free("Plots") or pinning Plots at v"0.9.4" fixes the problem. Thanks for your help.
Weird, since this morning I'm getting below error. Pkg.update() does not help, in fact this is in Pkg.update(). REQUIRE seems ok (julia 0.5).
Same message after Pkg.rm("ApproxFun") followed by Pkg.add("ApproxFun").