Issue with Pkg in Julia Nightly builds (Version 1.2.0-DEV.16 (2018-12-14))

I use Windows 10 and 8.1 and get this results:

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.2.0-DEV.16 (2018-12-14)
 _/ |\__'_|_|_|\__'_|  |  Commit 43c6b57650 (0 days old master)
|__/                   |

(v1.2) pkg> st
    Status `C:\Julia_depot\environments\v1.2\Project.toml`
  (empty environment)

(v1.2) pkg> add Atom
  Updating registry at `C:\Julia_depot\registries\General`
┌ Warning: Some registries failed to update:
│     — `C:\Julia_depot\registries\General` — registry dirty
└ @ Pkg.Types C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.2\Pkg\src\Types.jl:1269
 Resolving package versions...
ERROR: Unsatisfiable requirements detected for package Atom [c52e3926]:
 Atom [c52e3926] log:
 ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.6, 0.5.0-0.5.10, 0.6.0-0.6.16, 0.7.0-0.7.3] or uninstalled
 ├─restricted to versions * by an explicit requirement, leaving only versions [0.1.0-0.1.1, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.6, 0.5.0-0.5.10, 0.6.0-0.6.16, 0.7.0-0.7.3]
 └─restricted by julia compatibility requirements to versions: uninstalled — no versions left

(v1.2) pkg>

Can you try remove the C:\Julia_depot\registries\General folder.

Thank you Kristoffer!

1 Like

The cool way of doing this is now

pkg> registry rm General

pkg> registry add General
4 Likes

But does it happen so often?
How can we avoid this problem?

You don’t need to do anything, it has already been fixed.

1 Like

It was a transient problem due to someone registering a package with a bad name. No one has needed to deal with it more than once on a given computer.