# Unable to add stdlib packages to environment in julia 1.5.2

**URL:** <https://discourse.julialang.org/t/unable-to-add-stdlib-packages-to-environment-in-julia-1-5-2/47328>\
**Category:** General Usage\
**Tags:** question\
**Created:** [September 26, 2020, 5:37pm UTC](https://discourse.julialang.org/t/unable-to-add-stdlib-packages-to-environment-in-julia-1-5-2/47328 "2020-09-26T17:37:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jishnub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jishnub/32/33620_2.png) [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Post date:** [September 26, 2020, 5:37pm UTC](https://discourse.julialang.org/t/unable-to-add-stdlib-packages-to-environment-in-julia-1-5-2/47328/1 "2020-09-26T17:37:44Z")

</div>

I have just downloaded Julia 1.5.2, and I’m facing a strange issue:

```julia
   _ _ _(_)_ | 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

```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:

```julia
(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?

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [September 26, 2020, 5:58pm UTC](https://discourse.julialang.org/t/unable-to-add-stdlib-packages-to-environment-in-julia-1-5-2/47328/2 "2020-09-26T17:58:14Z")

</div>

My only guess is that your julia installation is corrupt somehow.
