# Don't let Pkg downgrade packages automatically

**URL:** <https://discourse.julialang.org/t/dont-let-pkg-downgrade-packages-automatically/43424>\
**Category:** Internals & Design\
**Created:** [July 21, 2020, 10:10am UTC](https://discourse.julialang.org/t/dont-let-pkg-downgrade-packages-automatically/43424 "2020-07-21T10:10:46Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 21, 2020, 11:06am UTC](https://discourse.julialang.org/t/dont-let-pkg-downgrade-packages-automatically/43424/6 "2020-07-21T11:06:34Z")

</div>

undo is great, didn’t know it exists!  
Some kind of dry run for Pkg commands would be nice, what-if, or however it can be called.  
I see there is also

```julia
pkg> add --preserve=all Example

```

> all Preserve the state of all existing dependencies (including recursive dependencies)

---

_[View the full topic](https://discourse.julialang.org/t/dont-let-pkg-downgrade-packages-automatically/43424)._
