PKG.JL error

I want to add ‘Genie’ package, but there was an error:

(@v1.5) pkg> add Genie
ERROR: The following package names could not be resolved:
 * Genie (not found in project, manifest or registry)

And, when i tried to update registries, another error occurred:

(@v1.5) pkg> up
   Updating registry at `C:\Users\username\.julia\registries\JuliaComputingRegistry`
ERROR: expected package `Debugger [31a5f54b]` to be registered

my installed packages list:

  [54eefc05] Cascadia v1.0.1
  [a10d1c49] DBInterface v2.2.0
  [a93c6f00] DataFrames v0.21.8
  [864edb3b] DataStructures v0.18.8
  [31a5f54b] Debugger v0.6.6
  [713c75ef] Franklin v0.10.9
  [708ec375] Gumbo v0.8.0
  [cd3eb016] HTTP v0.8.19
  [7073ff75] IJulia v1.22.0
  [916415d5] Images v0.23.1
  [23fbe1c1] Latexify v0.14.2
  [16fef848] LiveServer v0.5.7
  [39abe10b] MySQL v1.1.2
  [2bd173c7] NodeJS v1.1.1
  [e7214860] PkgPage v0.4.1
  [c3e4b0f8] Pluto v0.12.6
  [69024149] StringEncodings v0.3.3
  [bd369af6] Tables v1.1.0
  [d6f4376e] Markdown

can anyone help me?

In you registries folder, C:\Users\username\.julia\registries\, do you have General? Genie and Debugger are both in the General registry and it looks like you possibly don’t have it installed for some reason (not sure why, it should be automatic, but possibly because the JuliaComputingRegistry was there first?)

You can also check registry status with

pkg> registry st
Registry Status
 [23338594] General (

If you don’t have the general registry installed, you can add with

pkg> registry add
   Cloning registry from ""
     Added registry `General` to `~/.julia/registries/General`

(Note, both of those are using the package manager, which can be accessed by pressing ] from the normal Julia REPL.)

See 7. Registries · Pkg.jl for more information on registries.

If the problem persists, try to delete and reinstall the registry with

]registry rm General
registry add General