Cannot update package in empty environment

I want to update a package to the most recent version. For some reason, the most recent version does not seem to be recognized. Here is an example using an empty environment:

(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml` (empty project)

(@v1.6) pkg> add DifferentialEvolutionMCMC @v0.5.11
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package DifferentialEvolutionMCMC [607db5a9]:
 DifferentialEvolutionMCMC [607db5a9] log:
 ├─possible versions are: 0.1.0-0.5.9 or uninstalled
 └─restricted to versions 0.5.11 by an explicit requirement — no versions left

When I add without specifying a version, v0.5.9 is installed:

(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml`
  [607db5a9] DifferentialEvolutionMCMC v0.5.9

What would cause this to happen?

See General registry delays, and a workaround.

1 Like

Much appreciated. Thank you for the link.

registry is not up to date