# Debugging registry-download problem

**URL:** <https://discourse.julialang.org/t/debugging-registry-download-problem/63021>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 16, 2021, 2:33pm UTC](https://discourse.julialang.org/t/debugging-registry-download-problem/63021 "2021-06-16T14:33:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [June 16, 2021, 2:33pm UTC](https://discourse.julialang.org/t/debugging-registry-download-problem/63021/1 "2021-06-16T14:33:47Z")

</div>

Someone in my group downloaded Julia 1.6.1 onto a Linux cluster and got a vague error when trying to install any package:

```julia
(@v1.6) pkg> add Flux
 Installing known registries into `~/.julia`
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/437a33d5a2137980d49bc3f6ca85520729877931

```

Confusingly, before showing the error message it showed a **Downloading** progress bar that seemed to be working (it steadily went to 100%). Moreover, running `download("...")` on that URL in Julia succeeds.

How can we get more information on the error? What might be going wrong?

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [June 16, 2021, 2:50pm UTC](https://discourse.julialang.org/t/debugging-registry-download-problem/63021/2 "2021-06-16T14:50:55Z")

</div>

Update: we tried setting `JULIA_PKG_SERVER=""` and got a more informative error message from `git clone` — we were exceeding a disk quota in the `/tmp` filesystem on this cluster. Setting the `TMPDIR=$HOME/tmp` environment variable worked around the problem.

Is there a way to get a more informative error message from the pkgserver-based download?

---

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [June 16, 2021, 3:23pm UTC](https://discourse.julialang.org/t/debugging-registry-download-problem/63021/3 "2021-06-16T15:23:04Z")

</div>

You could try setting `JULIA_DEBUG=Pkg` or even `JULIA_DEBUG=all`, but no guarantees whether that will be helpful here.

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [June 16, 2021, 4:21pm UTC](https://discourse.julialang.org/t/debugging-registry-download-problem/63021/4 "2021-06-16T16:21:40Z")

</div>

> [@stevengj](#):
>
> Is there a way to get a more informative error message from the pkgserver-based download?

Filed [better diagnostic for write failures during registry download · Issue #2626 · JuliaLang/Pkg.jl · GitHub](https://github.com/JuliaLang/Pkg.jl/issues/2626)
