# Why does Pkg.update() downgrade from Flux0.10 to 0.8?

**URL:** <https://discourse.julialang.org/t/why-does-pkg-update-downgrade-from-flux0-10-to-0-8/37043>\
**Category:** Machine Learning\
**Created:** [April 4, 2020, 11:09pm UTC](https://discourse.julialang.org/t/why-does-pkg-update-downgrade-from-flux0-10-to-0-8/37043 "2020-04-04T23:09:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaynick](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Post date:** [April 4, 2020, 11:09pm UTC](https://discourse.julialang.org/t/why-does-pkg-update-downgrade-from-flux0-10-to-0-8/37043/1 "2020-04-04T23:09:28Z")

</div>

Hello  
I just installed julia1.4 (mac), and was installing needed packages.

From previous experience, I know that the thing to do is install Flux _first_, then install other packages, that way it will select compatible packages.

Flux 0.10.3 was installed.

At some point I did a Pkg.update and it did this!

```julia
Pkg.update()
   Updating `~/.julia/environments/v1.4/Project.toml`
  [3a865a2d] ↑ CuArrays v1.7.3 ⇒ v2.0.1
  [587475ba] ↓ Flux v0.10.3 ⇒ v0.8.3
  [dbeba491] ↓ Metalhead v0.5.0 ⇒ v0.4.0
   Updating `~/.julia/environments/v1.4/Manifest.toml`

```

It also added Tracker.

Why did it go back to 0.8.3?

---

<div class="post-metadata">

**Author:** ![ppalmes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ppalmes/32/6838_2.png) [@ppalmes](https://discourse.julialang.org/u/ppalmes)\
**Post date:** [April 5, 2020, 8:14am UTC](https://discourse.julialang.org/t/why-does-pkg-update-downgrade-from-flux0-10-to-0-8/37043/2 "2020-04-05T08:14:21Z")

</div>

try installing Flux with the latest version and it will tell you which package stopped it from installing to the latest version.

```julia
] add Flux#v0.10.3

```
