# ERROR: OrdinaryDiffEq can't be installed because it has no versions that support 0.6.2 of julia

**URL:** <https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 4, 2018, 2:22pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159 "2018-01-04T14:22:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 4, 2018, 2:22pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/1 "2018-01-04T14:22:58Z")

</div>

This is somewhat cryptic. After a `Pkg.update()`,

```julia
julia> Pkg.checkout("NLSolversBase")
INFO: Checking out NLSolversBase master...
INFO: Pulling NLSolversBase latest master...
ERROR: OrdinaryDiffEq can't be installed because it has no versions that support 0.6.2 of julia. You may need to update METADATA by running `Pkg.update()`
Stacktrace:
 [1] 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:486
 [2] 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:479
 [3] (::Base.Pkg.Entry.##16#18{String,String,Bool,Bool})(::Base.LibGit2.GitRepo) at ./pkg/entry.jl:236
 [4] transact(::Base.Pkg.Entry.##16#18{String,String,Bool,Bool}, ::Base.LibGit2.GitRepo) at ./libgit2/libgit2.jl:882
 [5] with(::Base.Pkg.Entry.##15#17{String,String,Bool,Bool}, ::Base.LibGit2.GitRepo) at ./libgit2/types.jl:608
 [6] checkout(::String, ::String, ::Bool, ::Bool) at ./pkg/entry.jl:226
 [7] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}})() at ./pkg/dir.jl:36
 [8] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#checkout,Tuple{String,String,Bool,Bool}}, ::String) at ./file.jl:70
 [9] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at ./pkg/dir.jl:36
 [10] #checkout#1(::Bool, ::Bool, ::Function, ::String, ::String) at ./pkg/pkg.jl:188
 [11] checkout(::String) at ./pkg/pkg.jl:188

julia> Pkg.status("NLSolversBase")
 - NLSolversBase 4.0.0+ master

julia> Pkg.status("OrdinaryDiffEq")
 - OrdinaryDiffEq 2.32.1

```

but `OrdinaryDiffEq` **is** installed. So I am not sure what the error message means. Can someone please clarify?

---

<div class="post-metadata">

**Author:** ![carlobaldassi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlobaldassi/32/37_2.png) [@carlobaldassi](https://discourse.julialang.org/u/carlobaldassi)\
**Post date:** [January 4, 2018, 6:02pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/2 "2018-01-04T18:02:29Z")

</div>

(Disregard all of this…)  
~~The package OrdinaryDiffEq version 2.32.1 specifies Julia version 0.6.0 as a requirement ([here](https://github.com/JuliaLang/METADATA.jl/blob/74c11cfb67b74f21bd9aa16ef1ddf802a4683602/OrdinaryDiffEq/versions/2.32.1/requires)).~~

~~Thus, the package had been installed without issues with Julia 0.6.0. Then, after the upgrade to 0.6.2, the package manager can’t find any compatible version and basically “doesn’t know what to do”.~~

~~Maybe a quick fix could be checking out OrdinaryDiffEq, as it may turn the error into a warning (I haven’t tested this).~~

~~Anyway the requirement of Julia 0.6.0 seems bizarre to me and should probably just be fixed in METADATA, unless there are good reasons for that. cc @ChrisRackauckas.~~

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 4, 2018, 6:13pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/3 "2018-01-04T18:13:07Z")

</div>

> [@carlobaldassi](#):
>
> The package OrdinaryDiffEq version 2.32.1 specifies Julia version 0.6.0 as a requirement (here).
> 
> Thus, the package had been installed without issues with Julia 0.6.0. Then, after the upgrade to 0.6.2, the package manager can’t find any compatible version and basically “doesn’t know what to do”.

Isn’t that just a lower bound though? I’ve installed on v0.6.1 and v0.6.2 without issues, and Travis/AppVeyor is fine. Could this be another package resolver problem? I’ll change the REQUIRE file but from what I understand that wouldn’t make a difference here.

---

<div class="post-metadata">

**Author:** ![carlobaldassi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlobaldassi/32/37_2.png) [@carlobaldassi](https://discourse.julialang.org/u/carlobaldassi)\
**Post date:** [January 4, 2018, 6:15pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/4 "2018-01-04T18:15:11Z")

</div>

Whoops, sorry, I got confused with the new specification style of Pkg3 that I’m working with these days…

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 4, 2018, 6:22pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/5 "2018-01-04T18:22:06Z")

</div>

> [@ChrisRackauckas](#):
>
> Could this be another package resolver problem?

That’s what I suspect, or some subtle dependency conflict between `master` of `NLSolversBase` and the released `OrdinaryDiffEq`, but I don’t know how to debug these systematically.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [January 4, 2018, 6:33pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/6 "2018-01-04T18:33:43Z")

</div>

> [@Tamas\_Papp](#):
>
> That’s what I suspect, or some subtle dependency conflict between master of NLSolversBase and the released OrdinaryDiffEq, but I don’t know how to debug these systematically.

Oh yes, there is one right now because @pkofod is in the middle of swapping the in-place syntax for NLSolversBase (i.e. NLsolve and Optim). That’s a huge breaking release. I wouldn’t recommend being on master unless you’ve updated for it already (which our releases haven’t because it’s not released yet).

---

<div class="post-metadata">

**Author:** ![carlobaldassi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carlobaldassi/32/37_2.png) [@carlobaldassi](https://discourse.julialang.org/u/carlobaldassi)\
**Post date:** [January 4, 2018, 6:35pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/7 "2018-01-04T18:35:39Z")

</div>

A package resolver problem (in the sense of a bug) is unlikely, given where the error comes from. A subtle dependency conflict with an unhelpful error message is more likely in my opinion.

If you compile julia from source, here is something you could do to debug: in the file “base/pkg/entry.jl” right above line 485 which should read `if "julia" in conflicts[pkg]`, insert this line:

`println(bktrc[pkg])`

This should show a backtrace of what happened when trying to resolve “OrdinaryDiffEq”.

(BTW this issue of reporting errors will be considerably improved in Pkg3.)

---

<div class="post-metadata">

**Author:** ![pkofod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pkofod/32/2179_2.png) [@pkofod](https://discourse.julialang.org/u/pkofod)\
**Post date:** [January 4, 2018, 6:40pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/8 "2018-01-04T18:40:56Z")

</div>

why are you checking out master? 😃

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [January 4, 2018, 6:43pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/9 "2018-01-04T18:43:25Z")

</div>

experimenting with the new features which I like very much 😄 eg d43138 will make a lot of things easier.

`Pkg.free` resolved the issue, thanks @ChrisRackauckas.

---

<div class="post-metadata">

**Author:** ![pkofod](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pkofod/32/2179_2.png) [@pkofod](https://discourse.julialang.org/u/pkofod)\
**Post date:** [January 4, 2018, 7:56pm UTC](https://discourse.julialang.org/t/error-ordinarydiffeq-cant-be-installed-because-it-has-no-versions-that-support-0-6-2-of-julia/8159/10 "2018-01-04T19:56:53Z")

</div>

Cool! Yeah, I’m currently in queue at METADATA 🙂 Hope to have this resolved soon.
