# How to find out why packages are downgraded

**URL:** <https://discourse.julialang.org/t/how-to-find-out-why-packages-are-downgraded/46513>\
**Category:** General Usage\
**Tags:** pkg\
**Created:** [September 12, 2020, 4:24pm UTC](https://discourse.julialang.org/t/how-to-find-out-why-packages-are-downgraded/46513 "2020-09-12T16:24:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grahamstark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/grahamstark/32/5200_2.png) [@grahamstark](https://discourse.julialang.org/u/grahamstark)\
**Post date:** [September 12, 2020, 4:24pm UTC](https://discourse.julialang.org/t/how-to-find-out-why-packages-are-downgraded/46513/1 "2020-09-12T16:24:06Z")

</div>

Hi,

I’ve just run

```
]up

```

and found some large downgrades to packages I care about, for example:

```julia
  [70588ee8] ↓ CSSUtil v0.1.1 ⇒ v0.1.0
  [336ed68f] ↓ CSV v0.7.7 ⇒ v0.6.1
  [5d742f6a] ↓ CSVFiles v1.0.0 ⇒ v0.16.1
  [324d7699] ↓ CategoricalArrays v0.8.2 ⇒ v0.7.7
    [5ae59095] ↓ Colors v0.12.4 ⇒ v0.11.2
  [34da2185] ↓ Compat v3.15.0 ⇒ v2.2.1
   [7ad07ef1] ↓ CoupledFields v0.2.0 ⇒ v0.1.0
  [5721bf48] ↓ DataVoyager v1.0.0 ⇒ v0.3.1
  [....]

```

is there a simple way of finding out which dependencies have caused this?

thanks,

Graham

---

<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:** [September 13, 2020, 12:53pm UTC](https://discourse.julialang.org/t/how-to-find-out-why-packages-are-downgraded/46513/2 "2020-09-13T12:53:11Z")

</div>

You could try upgrading any of these to a specific latest version (`pkg> add SomePackage@ver`), then the resolver will give you more details. But it could also be a bug like

[https://github.com/JuliaLang/Pkg.jl/issues/1949](https://github.com/JuliaLang/Pkg.jl/issues/1949)

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [September 13, 2020, 6:23pm UTC](https://discourse.julialang.org/t/how-to-find-out-why-packages-are-downgraded/46513/3 "2020-09-13T18:23:38Z")

</div>

Also more generally it is a good idea to create separate environments for specific scripts/tasks to minimise the scope for incompatibilities that lead to downgrades.

I don’t know your specific situation of course and whether you might actually just need all those packages at the same time, but it looks like you have a lot of packages installed in the same environment, so to the extent that you don’t actually use them concurrently for one piece of work, it makes sense to split environments.
