To start from the simplest, have you followed the suggestion in the FAQ about updating the version of Julia?
If the problem is a corrupted registry, that won’t help, of course, and then @giordano’s suggestion may be the simplest. It’s safe unless you had tweaked your General registry to make it different from GitHub - JuliaRegistries/General: The official registry of general Julia packages