I have just downloaded Julia 1.5.2, and I’m facing a strange issue:
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.2 (2020-09-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.5) pkg> generate temp
Generating project temp:
temp/Project.toml
temp/src/temp.jl
(@v1.5) pkg> activate temp
Activating environment at `~/Dropbox/JuliaPackages/temp/Project.toml`
(temp) pkg> add Test
Updating registry at `~/.julia/registries/General`
ERROR: The following package names could not be resolved:
* Test (not found in project, manifest or registry)
(temp) pkg> add LinearAlgebra
ERROR: The following package names could not be resolved:
* LinearAlgebra (not found in project, manifest or registry)
The issue doesn’t go away by deleting ~/.julia
$ rm -rf ~/.julia
(@v1.5) pkg> activate temp
Activating environment at `~/Dropbox/JuliaPackages/temp/Project.toml`
(temp) pkg> add Test
Installing known registries into `~/.julia`
######################################################################## 100.0%
Added registry `General` to `~/.julia/registries/General`
ERROR: The following package names could not be resolved:
* Test (not found in project, manifest or registry)
I can’t even install registered packages that depend on the stdlib:
(temp) pkg> add OffsetArrays
Resolving package versions...
ERROR: cannot find name corresponding to UUID 8dfed614-e22c-5e08-85e1-65c5234f0b40 in a registry
I’m not sure what’s going on here?