# Pkg problems - Impossible to update packages and to install some of them

**URL:** <https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182>\
**Category:** General Usage\
**Created:** [May 27, 2018, 1:15pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182 "2018-05-27T13:15:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tfk17lstm](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tfk17lstm](https://discourse.julialang.org/u/tfk17lstm)\
**Post date:** [May 27, 2018, 1:15pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/1 "2018-05-27T13:15:55Z")

</div>

Dear Julia users,

I am so desperate, since last Friday I have been having troubles with almost all the packages that I wanted to install.

First of all I was triying to update my packages and I get the following error.

```julia

Pkg.update()
INFO: Updating METADATA...
INFO: Updating BinaryProvider master...
INFO: Computing changes...
ERROR: resolve is unable to satisfy package requirements.
  The problem was detected when trying to find a feasible version
  for package Compat.
  However, this only means that package Compat is involved in an
  unsatisfiable or difficult dependency relation, and the root of
  the problem may be elsewhere

```

Secondly, I was trying to install the Gurobi Solver and I got:

```julia
Pkg.add("Gurobi")
ERROR: resolve is unable to satisfy package requirements.
  The problem was detected when trying to find a feasible version
  for package Compat.
  However, this only means that package Compat is involved in an
  unsatisfiable or difficult dependency relation, and the root of
  the problem may be elsewhere.

resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av
ailable}}) at .\pkg\resolve.jl:48
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av
ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{Str
ing,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:499
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av
ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\e
ntry.jl:479
edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N} where
N) at .\pkg\entry.jl:30
(::Base.Pkg.Entry.##1#3{String,Base.Pkg.Types.VersionSet})() at .\task.jl:335

```

Thirdly with the Juniper Package:

```julia
Pkg.add("Juniper")
ERROR: Unsatisfiable requirements detected for package MathProgBase:
├─version range [0.7.0,0.7.0+) set by an explicit requirement
└─version range [0.6.0,0.7.0-) required by package Juniper, whose allowed version range is [0.0.0-,∞
):
  └─version range [0.0.0-,∞) set by an explicit requirement
The intersection of the requirements is empty.
filter_versions(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.
Types.Available}}, ::Dict{AbstractString,Base.Pkg.Types.ResolveBacktraceItem}) at .\pkg\query.jl:299

prune_versions(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.T
ypes.Available}}, ::Dict{AbstractString,Base.Pkg.Types.ResolveBacktraceItem}) at .\pkg\query.jl:328
prune_dependencies(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.P
kg.Types.Available}}, ::Dict{AbstractString,Base.Pkg.Types.ResolveBacktraceItem}) at .\pkg\query.jl:
546
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av
ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{Str
ing,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:498
resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Av
ailable}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\e
ntry.jl:479
edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N} where
N) at .\pkg\entry.jl:30
(::Base.Pkg.Entry.##1#3{String,Base.Pkg.Types.VersionSet})() at .\task.jl:335

```

And also when I am triying to build the Ipopt package I get:

```julia

[BUILD ERRORS]=======================
WARNING: Ipopt had build errors.

 - packages with build errors remain installed in /home/user/.julia/v6.0
 - build the package(s) and all dependencies with `Pkg.build("Ipopt")`
 - build a single package by running its `deps/build.jl` script

================================
INFO: Package database updated
INFO: METADATA is out-of-date — you may not have the latest version of Ipopt

```

Someone knows what is the problem? It is insane, I have never had so much troubles for installing packages in any environment.

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [May 27, 2018, 1:18pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/2 "2018-05-27T13:18:23Z")

</div>

```julia
/home/jeff/.julia/v0.3

```

Are you using version 0.3?

---

<div class="post-metadata">

**Author:** ![tfk17lstm](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@tfk17lstm](https://discourse.julialang.org/u/tfk17lstm)\
**Post date:** [May 27, 2018, 1:26pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/3 "2018-05-27T13:26:01Z")

</div>

No, I am using v6.2.2 mkl. It was a mistake, I had it in my wallpaper a copy of another github error.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [May 27, 2018, 2:26pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/4 "2018-05-27T14:26:06Z")

</div>

This is JuliaPro, right? A number of people have been having package update issues with it lately, because JuliaPro has a pretty restricted set of required packages and versions. You might want to try downloading the plain command line Julia from [Download Julia](https://julialang.org/downloads/) to see if that resolves the package issues.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [May 27, 2018, 2:28pm UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/5 "2018-05-27T14:28:20Z")

</div>

See also [NullableArrays: resolve is unable to satisfy package requirements](https://discourse.julialang.org/t/nullablearrays-resolve-is-unable-to-satisfy-package-requirements/10891)

---

<div class="post-metadata">

**Author:** ![Harsha](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/harsha/32/1985_2.png) [@Harsha](https://discourse.julialang.org/u/Harsha)\
**Post date:** [May 30, 2018, 7:14am UTC](https://discourse.julialang.org/t/pkg-problems-impossible-to-update-packages-and-to-install-some-of-them/11182/6 "2018-05-30T07:14:13Z")

</div>

> [@tfk17lstm](#):
>
> ERROR: resolve is unable to satisfy package requirements. The problem was detected when trying to find a feasible version for package Compat.

Fix for this issue can be found [here](https://discourse.julialang.org/t/error-with-nullablearrays-when-trying-to-install-or-remove-packages-or-run-pkg-update/11225/6)
