# Unable to install JuMP 1.0 or 1.1 (Julia 1.7.3)

**URL:** <https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304>\
**Category:** Optimization (Mathematical)\
**Tags:** question, jump\
**Created:** [June 6, 2022, 11:42am UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304 "2022-06-06T11:42:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adow031](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adow031/32/16403_2.png) [@adow031](https://discourse.julialang.org/u/adow031)\
**Post date:** [June 6, 2022, 11:42am UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304/1 "2022-06-06T11:42:24Z")

</div>

On a clean install of Julia 1.7.3, I cannot install a version of JuMP greater than 0.22.3.

If I use `] add JuMP` Julia will install version 0.22.3. If I try to force it to install 1.0 or 1.1, e.g.:

```julia
] add JuMP@1.1.0

```

It gives the following message.

```julia
ERROR: Unsatisfiable requirements detected for package JuMP [4076af6c]:
 JuMP [4076af6c] log:
 ├─possible versions are: 0.18.3-0.22.3 or uninstalled
 └─restricted to versions 1.1.0 by an explicit requirement - no versions left

```

However, if I try to add JuMP from Github using:

```julia
add https://github.com/jump-dev/JuMP.jl.git

```

I’m told that there’s a issue with the MathOptInterface requirement.

```julia
ERROR: Unsatisfiable requirements detected for package MathOptInterface [b8f27783]:
 MathOptInterface [b8f27783] log:
 ├─possible versions are: 0.5.0-0.10.8 or uninstalled
 └─restricted to versions 1.1.1-1 by JuMP [4076af6c] - no versions left
   └─JuMP [4076af6c] log:
     ├─possible versions are: 1.1.0 or uninstalled
     └─JuMP [4076af6c] is fixed to version 1.1.0

```

If I then try to install MathOptInterface 1.3 from Github, I’m unable to do so due to an incompatibility with MutableArithmetics. I then add this from Github, and then can install MathOptInterface. However, when I go to install JuMP 1.1, I get this error:

```julia
ERROR: Unsatisfiable requirements detected for package ReverseDiffSparse [89212889]:
 ReverseDiffSparse [89212889] log:
 ├─possible versions are: 0.8.2-0.8.6 or uninstalled
 ├─restricted by compatibility requirements with JuMP [4076af6c] to versions: 0.
8.2-0.8.6
 │ └─JuMP [4076af6c] log:
 │ ├─possible versions are: 0.18.3-0.22.3 or uninstalled
 │ ├─restricted to versions * by an explicit requirement, leaving only version
s 0.18.3-0.22.3
 │ ├─restricted by compatibility requirements with MathOptInterface [b8f27783]
 to versions: 0.18.3-0.18.6 or uninstalled, leaving only versions: 0.18.3-0.18.6
 │ │ └─MathOptInterface [b8f27783] log:
 │ │ ├─possible versions are: 1.3.0 or uninstalled
 │ │ └─MathOptInterface [b8f27783] is fixed to version 1.3.0
 │ └─restricted by compatibility requirements with Compat [34da2185] to versio
ns: 0.18.6-0.22.3 or uninstalled, leaving only versions: 0.18.6
 │ └─Compat [34da2185] log:
 │ ├─possible versions are: 1.0.0-3.41.0 or uninstalled
 │ ├─restricted by compatibility requirements with JuMP [4076af6c] to vers
ions: 1.0.0-3.41.0
 │ │ └─JuMP [4076af6c] log: see above
 │ └─restricted by compatibility requirements with DataStructures [864edb3
b] to versions: 3.0.0-3.41.0
 │ └─DataStructures [864edb3b] log:
 │ ├─possible versions are: 0.9.0-0.18.11 or uninstalled
 │ └─restricted to versions 0.18 by MathOptInterface [b8f27783], leavi
ng only versions 0.18.0-0.18.11
 │ └─MathOptInterface [b8f27783] log: see above
 └─restricted by compatibility requirements with Compat [34da2185] to versions:
uninstalled - no versions left
   └─Compat [34da2185] log: see above

```

Here are the only Packages installed in this instance of Julia:

```julia
Dict{String, VersionNumber} with 2 entries:
  "MathOptInterface" => v"1.3.0"
  "MutableArithmetics" => v"1.0.2"

```

Is something broken with the package registry or have I done something wrong?

Thanks.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [June 6, 2022, 12:59pm UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304/2 "2022-06-06T12:59:02Z")

</div>

> [@adow031](#):
>
> ```julia
> JuMP [4076af6c] log:
> ├─possible versions are: 0.18.3-0.22.3 or uninstalled
> 
> ```

Sounds like something is wrong with your registry, Jump [has versions `1.0.0` and `1.1.0`](https://github.com/JuliaRegistries/General/blob/0d55f749ea36cbd31ecaec80fb8619bd58ba8249/J/JuMP/Versions.toml) too. Try updating the registry with

```julia
]update

```

or completely reinstalling it with

```julia
]registry rm General
registry add General

```

---

<div class="post-metadata">

**Author:** ![adow031](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adow031/32/16403_2.png) [@adow031](https://discourse.julialang.org/u/adow031)\
**Post date:** [June 6, 2022, 2:05pm UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304/3 "2022-06-06T14:05:52Z")

</div>

I got this message when I tried to run update. It looks like it’s related to my problem:

```julia
┌ Warning: could not download https://pkg.julialang.org/registries
│ exception = HTTP/1.1 301 Australian region -> AU internal redirect
trigger (schannel: next InitializeSecurityContext failed:
SEC_E_ILLEGAL_MESSAGE (0x80090326) - This error usually occurs when a fatal
SSL/TLS alert is received (e.g. handshake failed). More detail may be
available in the Windows System event log.) while requesting
https://pkg.julialang.org/registries

```

However, I’m not sure what to do about it.

---

<div class="post-metadata">

**Author:** ![adow031](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/adow031/32/16403_2.png) [@adow031](https://discourse.julialang.org/u/adow031)\
**Post date:** [June 6, 2022, 2:13pm UTC](https://discourse.julialang.org/t/unable-to-install-jump-1-0-or-1-1-julia-1-7-3/82304/4 "2022-06-06T14:13:28Z")

</div>

Removing General and re-adding it looks to have worked.

Thanks very much.
