# Blocked Updates/ Upgrades while adding "DifferentialEquations" package

**URL:** https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450
**Category:** General Usage
**Tags:** question, package
**Created:** [November 9, 2024, 12:06pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450 "2024-11-09T12:06:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ziad\_ishere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ziad_ishere/32/213157_2.png) [@Ziad\_ishere](https://discourse.julialang.org/u/Ziad_ishere)
#### Post date: [November 9, 2024, 12:06pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/1 "2024-11-09T12:06:09Z")

</div>

When i attempt to add DifferentialEquations package, some dependencies do not install, what could be the cause? Should i reinstall Julia with different version?

```julia
julia> Pkg.add("DifferentialEquations")
   Resolving package versions...
    Updating `~/.julia/environments/v1.10/Project.toml`
  [0c46a032] + DifferentialEquations v7.15.0
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [fa961155] + CEnum v0.5.0
  [bcd4f6db] + DelayDiffEq v5.48.1
  [459566f4] + DiffEqCallbacks v4.1.0
  [77a26b50] + DiffEqNoiseProcess v5.23.0
  [0c46a032] + DifferentialEquations v7.15.0
⌅ [d9f16b24] + Functors v0.4.12
  [ccbc3e58] + JumpProcesses v9.14.0
  [2d8b4e74] + LevyArea v1.0.0
  [2774e3e8] + NLsolve v4.5.1
  [429524aa] + Optim v1.9.4
  [e409e4f3] + PoissonRandom v0.4.4
  [85a6dd25] + PositiveFactorizations v0.2.4
  [74087812] + Random123 v1.7.0
  [e6cf234a] + RandomNumbers v1.6.0
  [ae5879a3] + ResettableStacks v1.1.1
  [9672c7b4] + SteadyStateDiffEq v2.4.1
  [789caeaf] + StochasticDiffEq v6.70.0
  [c3572dad] + Sundials v4.26.1
⌅ [fb77eaff] + Sundials_jll v5.2.2+0
3f19e933] + p7zip_jll v17.4.0+2
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  Progress [========================================>] 128/130
  ✗ BoundaryValueDiffEqFIRK
  ◓ BoundaryValueDiffEq

```

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [November 9, 2024, 5:14pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/2 "2024-11-09T17:14:51Z")

</div>

What is the output of:

```julia
versioninfo()

```

?  
What is the output of:

```julia
using Pkg
Pkg.status()

```

?

---

<div class="post-metadata">

### Author: ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)
#### Post date: [November 10, 2024, 3:57pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/3 "2024-11-10T15:57:23Z")

</div>

Welcome @Ziad_ishere!

What you see is not an issue with Julia itself. It is caused by certain (upstream) packages in your environment having newer versions whose compatibility with other (downstream) packages has not been ensured yet.

For instance, Functors.jl released a breaking version v0.5.0 last week. Packages which depend on Functors.jl must specify which versions of Functors.jl they can work with, and when a breaking version arrives, it must be added to the [compatibility](https://pkgdocs.julialang.org/v1/compatibility/) specification. This process is partially automated but still requires manual approval at best and manual adaptation at worst. So it is normal for it to take a few days (or weeks, depending on how breaking the update is).

If you want more detailed information on which packages are blocking the update, you can try to force the version of Functors.jl and see what happens:

```julia
pkg> add Functors@0.5

```

---

<div class="post-metadata">

### Author: ![Ziad\_ishere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ziad_ishere/32/213157_2.png) [@Ziad\_ishere](https://discourse.julialang.org/u/Ziad_ishere)
#### Post date: [November 10, 2024, 7:21pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/4 "2024-11-10T19:21:57Z")

</div>

Hi gdalle,  
thank you for your response.

i have already solved the issue and it turned out to be related to compatibility of DifferentialEquations.jl as you mentioned.  
i solved it by using an older version of DifferentialEquations.jl  
using this line in Julia

```julia
pkg> add DifferentialEquations@6.15.0

```

---

<div class="post-metadata">

### Author: ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)
#### Post date: [November 10, 2024, 7:24pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/5 "2024-11-10T19:24:54Z")

</div>

Whenever possible, you probablw want to use the latest version of packages, especially packages as important as DifferentialEquations.jl. On the other hand, Functors.jl being stuck to v0.4 is not a very big deal, and picking an older version for DiffEq won’t let you update it either. Did you have any trouble with the environment described in your initial post? At first glance, it looks about as good as can be right now?

---

<div class="post-metadata">

### Author: ![Ziad\_ishere](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ziad_ishere/32/213157_2.png) [@Ziad\_ishere](https://discourse.julialang.org/u/Ziad_ishere)
#### Post date: [November 17, 2024, 5:11pm UTC](https://discourse.julialang.org/t/blocked-updates-upgrades-while-adding-differentialequations-package/122450/6 "2024-11-17T17:11:54Z")

</div>

The problem occurred while installing FLOWUnsteady software, i had to install some dependencies for it which looks like they are incompatible with newer versions of DifferentialEquations.jl . I am new to Julia environment, and I had been trying different versions of python and Julia. But currently everything looks fine and working after installing older version of DifferentialEquations.jl
