# Pkg.update() Error on NullableArrays (JuliaPro\_v0.6.2.2\_build-321)

**URL:** <https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430>\
**Category:** New to Julia\
**Created:** [June 5, 2018, 6:23am UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430 "2018-06-05T06:23:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![suiato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/suiato/32/1713_2.png) [@suiato](https://discourse.julialang.org/u/suiato)\
**Post date:** [June 5, 2018, 6:23am UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/1 "2018-06-05T06:23:33Z")

</div>

When updating packages, the following error was issued. (JuliaPro\_v0.6.2.2\_build-321 on Windows 10 Pro)

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/b/fbc470490d184c1fad63fd78fad1d81a797d7b3b.png)

---

<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:** [June 5, 2018, 5:13pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/2 "2018-06-05T17:13:14Z")

</div>

This is probably the same as the errors in [Error with NullableArrays when trying to install or remove packages or run Pkg.update() - #6 by Harsha](https://discourse.julialang.org/t/error-with-nullablearrays-when-trying-to-install-or-remove-packages-or-run-pkg-update/11225/6) . Do the instructions posted there help?

Also please post code by copying and pasting it, rather than including a screenshot. Screenshots are harder to read and generally impossible to search, [among other reasons](https://meta.stackoverflow.com/a/285557).

---

<div class="post-metadata">

**Author:** ![abobroff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abobroff/32/3752_2.png) [@abobroff](https://discourse.julialang.org/u/abobroff)\
**Post date:** [June 5, 2018, 6:30pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/3 "2018-06-05T18:30:35Z")

</div>

```julia
v0.6.2> versioninfo()
Julia Version 0.6.2
Commit d386e40c17* (2017-12-13 18:08 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
  WORD_SIZE: 64
  BLAS: mkl_rt
  LAPACK: mkl_rt
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)

v0.6.2> Pkg.update()
INFO: Updating METADATA...
INFO: Updating cache of Lazy...
INFO: Updating cache of MbedTLS...
INFO: Updating cache of Rotations...
INFO: Updating cache of StatsBase...
INFO: Updating cache of MacroTools...
INFO: Updating cache of LineSearches...
INFO: Updating cache of WeakRefStrings...
INFO: Updating cache of AutoGrad...
INFO: Updating cache of Knet...
INFO: Updating cache of Compat...
INFO: Updating cache of Parameters...
INFO: Updating cache of Dagger...
INFO: Updating cache of Showoff...
INFO: Updating cache of OnlineStats...
INFO: Computing changes...
WARNING: Juno is fixed at 0.4.0 conflicting with requirement for Atom: [0.4.1,∞)
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.

Stacktrace:
 [1] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at .\pkg\resolve.jl:48
 [2] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,
Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:499
 [3] update(::String, ::Set{String}) at .\pkg\entry.jl:461
 [4] (::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}})() at .\pkg\dir.jl:33
 [5] cd(::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}}}, ::String) at .\file.jl:59
 [6] withenv(::Base.Pkg.Dir.##2#5{Array{Any,1},Base.Pkg.Entry.#update,Tuple{String,Set{String}},String}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at
.\env.jl:157
 [7] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N} where N) at .\pkg\dir.jl:32
 [8] update() at .\pkg\pkg.jl:228
 [9] macro expansion at H:\JuliaPro-0.6.2.2\pkgs-0.6.2.2\v0.6\Atom\src\repl.jl:118 [inlined]
 [10] anonymous at .\<missing>:?

v0.6.2>

```

---

<div class="post-metadata">

**Author:** ![suiato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/suiato/32/1713_2.png) [@suiato](https://discourse.julialang.org/u/suiato)\
**Post date:** [June 5, 2018, 9:07pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/4 "2018-06-05T21:07:07Z")

</div>

Thank you for your advice and the pointer.  
I’ve followed the instructions in the link, but haven’t been able to fix the error.

I found the file REQUIRE under …\v0.6\Requires folder, which had a line  
julia 0.6.0-pre.beta.450

I first deleted the line, but it didn’t work.  
I changed the line to the following cases, including  
julia 0.6.2+  
julia 0.6+  
but still get the error message as follows:

```julia
julia> Pkg.resolve()
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.

Stacktrace:
 [1] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}) at .\pkg\resolve.jl:48
 [2] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at .\pkg\entry.jl:499
 [3] resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at .\pkg\entry.jl:479
 [4] (::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{}})() at .\pkg\dir.jl:33
 [5] cd(::Base.Pkg.Dir.##3#6{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{}}, ::String) at .\file.jl:59
 [6] withenv(::Base.Pkg.Dir.##2#5{Array{Any,1},Base.Pkg.Entry.#resolve,Tuple{},String}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at .\env.jl:157
 [7] #cd#1(::Array{Any,1}, ::Function, ::Function) at .\pkg\dir.jl:32
 [8] resolve() at .\pkg\pkg.jl:238

```

```julia
julia> versioninfo()
Julia Version 0.6.2
Commit d386e40c17* (2017-12-13 18:08 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, sandybridge)

```

---

<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:** [June 5, 2018, 9:12pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/5 "2018-06-05T21:12:20Z")

</div>

Er, no, that doesn’t look right. The file you should be changing is `...\v0.6\REQUIRE`, and you need to change the line with `Compat`. See [Error with NullableArrays when trying to install or remove packages or run Pkg.update() - #6 by Harsha](https://discourse.julialang.org/t/error-with-nullablearrays-when-trying-to-install-or-remove-packages-or-run-pkg-update/11225/6)

It looks like you edited the wrong file (`...\v0.6\Requires\REQUIRE`) and changed the wrong line (the `julia` requirement itself).

---

<div class="post-metadata">

**Author:** ![suiato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/suiato/32/1713_2.png) [@suiato](https://discourse.julialang.org/u/suiato)\
**Post date:** [June 5, 2018, 9:44pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/6 "2018-06-05T21:44:48Z")

</div>

Sorry I edited the wrong file.  
Yes, it worked! 🙂

I opened the file REQUIRE in the folder …\JuliaPro-0.6.2.2\pkgs-0.6.2.2\v0.6, and changed  
Compat 0.55.1 0.55.1+  
to  
Compat

Then, Pkg.resolve() worked fine!  
Many thanks.

---

<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:** [June 5, 2018, 9:45pm UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/7 "2018-06-05T21:45:07Z")

</div>

Excellent!

---

<div class="post-metadata">

**Author:** ![abobroff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/abobroff/32/3752_2.png) [@abobroff](https://discourse.julialang.org/u/abobroff)\
**Post date:** [June 6, 2018, 9:00am UTC](https://discourse.julialang.org/t/pkg-update-error-on-nullablearrays-juliapro-v0-6-2-2-build-321/11430/8 "2018-06-06T09:00:44Z")

</div>

@rdeits: Thank you vary much!
