Unable to update packages even after fresh installation

Hi all,

I am unable to update packages to new versions on Ubuntu and Mac OS. The problem persists even after reinstalling Julia. However, updating works on Windows 10. Here is an example of the problem:

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

(@v1.6) pkg> add ACTRModels @v0.6.13
  Installing known registries into `~/.julia`
       Added registry `General` to `~/.julia/registries/General`
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ACTRModels [c095b0ea]:
 ACTRModels [c095b0ea] log:
 ├─possible versions are: 0.1.0-0.6.11 or uninstalled
 └─restricted to versions 0.6.13 by an explicit requirement — no versions left

(@v1.6) pkg> add Makie @v0.13.2
   Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Makie [ee78f7c6]:
 Makie [ee78f7c6] log:
 ├─possible versions are: 0.9.0-0.13.1 or uninstalled
 └─restricted to versions 0.13.2 by an explicit requirement — no versions left

What could be causing this?

It turns out that the registry stopped updating. Simply deleting the registry did not solve the problem as suggested in other posts. The solution provided here seems to have resolved the problem.

2 Likes