I can't add/update packages on julia 1.5.3

Hello! Yesterday I installed julia version 1.5.3 on windows 10 and I was able to install the Pluto, Plots, GR, Plotly packages. But today I can’t download any packages, nor update the previous ones. I have specifically tried it with StatsPlots, Colors, Images and I get the same error: Unasatisfiable requirements detected for package …

As the error messages are pointing to, there appear to be conflicting requirements between some the installed packages. Typically, when instaling or updating packages, the pkg manager will handle the potential conflicts by downgrading the version of some packages back to a common requirement agreement.
I doubt thoe following is the most elegant to handle this, but I’d suggest to remove a couple of packages that apper problematic such as WebIO and PlotlyJS, do a ] gc until you can perform a ] up that perform a successfull update without error.
I would also be curious to see the list of installed packages through ] st. Where there any that were pointing to specific version or private registries? These situation may be exposed to potential requirement conflicts.

1 Like

Just pointing out, gc should have no influence on this whatsoever.


Well, thanks for the help. I started with the packages: GR, Plots, Plotly, Pluto. I removed a package, ] gc , up Some and it didn’t work.
I removed all packages but still no way of adding new ones.
I’m deleting the .julia and starting again form 0. Let’s see how it goes :slight_smile:

When facing conflicts (and in general when working with projects), a good practice is to setup a new environment:

] activate newenv

In which you shouldn’t experience requirement conflicts as the the new environment is initialized with no package added:

(newenv) pkg> st
Status `C:\Users\jerem\newenv\Project.toml` (empty project)

If you still get an error within a new environment, then it might be more of an issue.


Haha yup definitely “more of an issue” for me too.

Removed all packages. Did a ] gc but ] add Debugger still giving me:

ERROR: Unsatisfiable requirements detected for package Debugger [31a5f54b]:
Debugger [31a5f54b] log:
├─Debugger [31a5f54b] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left

in Julia 1.5.3.

] st gives:
Project VLIBM1 v0.1.0
Status C:\Users\mochu\OneDrive - University of Warwick\VLIBM1\Project.toml (empty project)

Try to do this after a fresh start of Julia. That is in the default environment. I just did:

$ /c/Users/PetrKrysl/AppData/Local/Programs/Julia\ 1.5.3/bin/julia.exe
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.5.3 (2020-11-09)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(@v1.5) pkg> add Debugger
   Updating registry at `C:\Users\PetrKrysl\.julia\registries\General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
  Resolving package versions...
  Installed Debugger ───────── v0.6.7
  Installed JuliaInterpreter ─ v0.8.11
  Installed Highlights ─────── v0.4.5
Updating `C:\Users\PetrKrysl\.julia\environments\v1.5\Project.toml`
  [31a5f54b] + Debugger v0.6.7
Updating `C:\Users\PetrKrysl\.julia\environments\v1.5\Manifest.toml`
  [da1fd8a2] + CodeTracking v1.0.5
  [a8cc5b0e] + Crayons v4.0.4
  [31a5f54b] + Debugger v0.6.7
  [ffbed154] + DocStringExtensions v0.8.3
  [eafb193a] + Highlights v0.4.5
  [aa1ae85d] + JuliaInterpreter v0.8.11
  [2a0f44e3] + Base64
  [ade2ca70] + Dates
  [8ba89e20] + Distributed
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [8f399da3] + Libdl
  [56ddb016] + Logging
  [d6f4376e] + Markdown
  [44cfe95a] + Pkg
  [de0858da] + Printf
  [3fa0cd96] + REPL
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [6462fe0b] + Sockets
  [8dfed614] + Test
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode

(@v1.5) pkg

If this works, then the problem is in the env you are trying to use.

Hi @PetrKryslUCSD thanks for posting that. Unfortunately that doesn’t work for me either. By the way I just realised I was using the old Julia and updated to 1.5.4 but alas to no avail.

(@v1.5) pkg> up
Updating registry at C:\Users\mochu\.julia\registries\JuliaComputingRegistry
No Changes to C:\Users\mochu\.julia\environments\v1.5\Project.toml
No Changes to C:\Users\mochu\.julia\environments\v1.5\Manifest.toml

(@v1.5) pkg> st
Status C:\Users\mochu\.julia\environments\v1.5\Project.toml (empty project)

(@v1.5) pkg> add Debugg
DebuggingUtilities Debugger
(@v1.5) pkg> add Debugger
Resolving package versions…
ERROR: Unsatisfiable requirements detected for package Debugger [31a5f54b]:
Debugger [31a5f54b] log:
├─Debugger [31a5f54b] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left

When things go real bad I delete the ~/.julia folder and start over. Warning: if you think you could use this folder at some later time, just rename it to ~/.julia.old. Then I would start Julia, and try to install the debugger package again. I just did all of that, and it worked fine.

Yes thanks! In fact following this related thread Getting an error with the Colors package - #2 by fredrikekre I found that deleting just the .julia/registries subfolder was all that was necessary. Took about 10mins after restarting Julia for it auto-install the registries back.


Thanks squared!, I too had the same problem on a Windows 10 machine after updating to the most recent 1.6.0-rc2 & 1.5.4 software. When trying to submit a new question to discourse, the box to the right of where I am typing gave me similar topics and I found the solution, technology at work!