# Unable to automatically download/install artifact 'Ghostscript' from sources listed in .../.julia/...Artifects.toml

**URL:** <https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901>\
**Category:** General Usage\
**Tags:** package\
**Created:** [May 15, 2023, 10:06pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901 "2023-05-15T22:06:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chunjiw](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Post date:** [May 15, 2023, 10:06pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901/1 "2023-05-15T22:06:08Z")

</div>

I encounter this error using Julia 1.9.0 when adding a local package. The whole error message is

```julia
   Resolving package versions...
  Downloaded artifact: Ghostscript
  Downloaded artifact: Ghostscript
ERROR: Unable to automatically download/install artifact 'Ghostscript' from sources listed in '/home/username/.julia/packages/Ghostscript_jll/OPSVb/Artifacts.toml'.
Sources attempted:
- https://pkg.julialang.org/artifact/4883a6685d86b068da934537a444a6d170d71730
    Error: RequestError: HTTP/2 301 (Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds) while requesting https://pkg.julialang.org/artifact/4883a6685d86b068da934537a444a6d170d71730
- https://github.com/JuliaBinaryWrappers/Ghostscript_jll.jl/releases/download/Ghostscript-v9.55.0+4/Ghostscript.v9.55.0.x86_64-linux-gnu.tar.gz
    Error: RequestError: HTTP/2 302 (Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds) while requesting https://github.com/JuliaBinaryWrappers/Ghostscript_jll.jl/releases/download/Ghostscript-v9.55.0+4/Ghostscript.v9.55.0.x86_64-linux-gnu.tar.gz

```

But on the same machine (Debian), I have no problem running `wget https://pkg.julialang.org/artifact/4883a6685d86b068da934537a444a6d170d71730` and get the file within seconds.

---

<div class="post-metadata">

**Author:** ![chunjiw](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Post date:** [May 15, 2023, 10:12pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901/2 "2023-05-15T22:12:55Z")

</div>

I tried again with julia 1.8.5 and the same problem happens. I think it is somehow related to my company network.

---

<div class="post-metadata">

**Author:** ![chunjiw](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Post date:** [May 15, 2023, 10:57pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901/3 "2023-05-15T22:57:10Z")

</div>

I tried the same thing on a Windows laptop, on the same network, and it works. No downloading problem. I tried again on a Ubuntu 20.04.6 laptop, same error message as before.

---

<div class="post-metadata">

**Author:** ![chunjiw](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Post date:** [June 20, 2023, 10:43pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901/4 "2023-06-20T22:43:33Z")

</div>

I managed to manually install this artifact by using `Pkg.Artifacts.download_artifact()` function, along with information found in the `Artifacts.Toml` file in [Ghostscript\_jll.jl](https://github.com/JuliaBinaryWrappers/Ghostscript_jll.jl) GitHub repo.

First, download the tarball using another method, then spin up a local server, serve the tarball at `http://localhost:port/filename`, then use this url as one of the arguments in `download_artifact()`
