Unsatisfiable requirement (Nemo SIUnit Images TexExtensions)

I installed julia 1.1.0 (linux binary 64bits) together with a few packages (among which Images 0.17.2). I am now trying to install Nemo and I get the following error.

  julia> using Pkg; Pkg.add("Nemo")
    Updating registry at `~/.julia/registries/General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
  ERROR: Unsatisfiable requirements detected for package SIUnits [b9d75638]:
   SIUnits [b9d75638] log:
   ├─possible versions are: [0.0.1-0.0.6, 0.1.0] or uninstalled
   ├─restricted by compatibility requirements with Images [916415d5] to versions: [0.0.1-0.0.6, 0.1.0]
   │ └─Images [916415d5] log:
   │   ├─possible versions are: [0.2.0-0.2.50, 0.3.0-0.3.3, 0.4.0-0.4.50, 0.5.0-0.5.14, 0.6.0-0.6.1, 0.7.0, 0.8.0, 0.9.0-0.9.1, 0.10.0-0.10.1, 0.11.0-0.11.5, 0.12.0, 0.13.0, 0.14.0, 0.15.0-0.15.1, 0.16.0-0.16.1, 0.17.0-0.17.3] or uninstalled
   │   └─restricted to versions 0.17.2 by an explicit requirement, leaving only versions 0.17.2
   └─restricted by julia compatibility requirements to versions: uninstalled — no versions left
  Stacktrace:
   [1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1005
   [2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:946 [inlined]
   [3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1460
   [4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1460 [inlined]
   [5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:371
   [6] resolve_versions! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:315 [inlined]
   [7] #add_or_develop#63(::Array{Base.UUID,1}, ::Symbol, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1171
   [8] #add_or_develop at ./none:0 [inlined]
   [9] #add_or_develop#15(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:54
   [10] #add_or_develop at ./none:0 [inlined]
   [11] #add_or_develop#14 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:31 [inlined]
   [12] #add_or_develop at ./none:0 [inlined]
   [13] #add_or_develop#13 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:29 [inlined]
   [14] #add_or_develop at ./none:0 [inlined]
   [15] #add_or_develop#12(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:28
   [16] #add_or_develop at ./none:0 [inlined]
   [17] #add#20 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59 [inlined]
   [18] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59
   [19] top-level scope at none:0

Trying to add SIUnits also gives an error.

  Pkg.add("SIUnits")
   Resolving package versions...
  ERROR: Unsatisfiable requirements detected for package TexExtensions [9b435220]:
   TexExtensions [9b435220] log:
   ├─possible versions are: [0.0.1-0.0.3, 0.1.0] or uninstalled
   ├─restricted by compatibility requirements with SIUnits [b9d75638] to versions: [0.0.1-0.0.3, 0.1.0]
   │ └─SIUnits [b9d75638] log:
   │   ├─possible versions are: [0.0.1-0.0.6, 0.1.0] or uninstalled
   │   └─restricted to versions 0.1.0 by an explicit requirement, leaving only versions 0.1.0
   └─restricted by julia compatibility requirements to versions: uninstalled — no versions left
  Stacktrace:
   [1] #propagate_constraints!#61(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1005
   [2] propagate_constraints! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:946 [inlined]
   [3] #simplify_graph!#121(::Bool, ::Function, ::Pkg.GraphType.Graph, ::Set{Int64}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1460
   [4] simplify_graph! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/GraphType.jl:1460 [inlined]
   [5] resolve_versions!(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}, ::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:371
   [6] resolve_versions! at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:315 [inlined]
   [7] #add_or_develop#63(::Array{Base.UUID,1}, ::Symbol, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/Operations.jl:1171
   [8] #add_or_develop at ./none:0 [inlined]
   [9] #add_or_develop#15(::Symbol, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:54
   [10] #add_or_develop at ./none:0 [inlined]
   [11] #add_or_develop#14 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:31 [inlined]
   [12] #add_or_develop at ./none:0 [inlined]
   [13] #add_or_develop#13 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:29 [inlined]
   [14] #add_or_develop at ./none:0 [inlined]
   [15] #add_or_develop#12(::Base.Iterators.Pairs{Symbol,Symbol,Tuple{Symbol},NamedTuple{(:mode,),Tuple{Symbol}}}, ::Function, ::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:28
   [16] #add_or_develop at ./none:0 [inlined]
   [17] #add#20 at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59 [inlined]
   [18] add(::String) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:59
   [19] top-level scope at none:0

How can I install these packages?

Update? ] up

It seems that the problem comes from the TexExtensions package.

  julia> Pkg.add("TexExtensions")
   Resolving package versions...
  ERROR: Unsatisfiable requirements detected for package TexExtensions [9b435220]:
   TexExtensions [9b435220] log:
   ├─possible versions are: [0.0.1-0.0.3, 0.1.0] or uninstalled
   ├─restricted to versions 0.1.0 by an explicit requirement, leaving only versions 0.1.0
   └─restricted by julia compatibility requirements to versions: uninstalled — no versions left
  [...]

That package saw no commit for two years and my julia installation is less than two months old. I hesitate to upgrade all the packages since everything is working fine at the moment. Maybe I can try to update only Images?

May I suggest making your ~/.julia/environments/v1.1 directory a git repo—that way you have version control for your installed packages and can roll back to a working state if things don’t go well. Unless you do pkg> gc the old versions will all still be there so rollback is trivial and doesn’t even involve reinstalling anything.

1 Like

Hi, did you solve this problem?

Yes, by updating.