# Not able to update for almost one week

**URL:** <https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247>\
**Category:** General Usage\
**Created:** [December 29, 2024, 1:31pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247 "2024-12-29T13:31:36Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![photor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/photor/32/14343_2.png) [@photor](https://discourse.julialang.org/u/photor)\
**Post date:** [December 29, 2024, 1:31pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/1 "2024-12-29T13:31:36Z")

</div>

```julia
(@v1.7) pkg> up
    Updating registry at `C:\Users\ytian\.julia\registries\General.toml`
┌ Error: Some registries failed to update:
│ — C:\Users\ytian\.julia\registries\General.toml — failed to download from https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/13ce9d9c2827ed305c5f056e0865d72b9785af23. Exception: HTTP/1.1 301 Moved Permanently (Operation timed out after 30006 milliseconds with 0 out of 0 bytes received) while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/13ce9d9c2827ed305c5f056e0865d72b9785af23
└ @ Pkg.Registry C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\Pkg\src\Registry\Registry.jl:450
  No Changes to `C:\Users\ytian\.julia\environments\v1.7\Project.toml`
  No Changes to `C:\Users\ytian\.julia\environments\v1.7\Manifest.toml`

```

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [December 29, 2024, 3:58pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/2 "2024-12-29T15:58:10Z")

</div>

Did you try using Bash:

```julia
export JULIA_PKG_SERVER_REGISTRY_PREFERENCE="eager"

```

or on Windows command prompt:

```julia
set JULIA_PKG_SERVER_REGISTRY_PREFERENCE="eager"

```

(Note: no space before and after ‘=’)  
before launching Julia?

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 30, 2024, 10:51am UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/3 "2024-12-30T10:51:02Z")

</div>

Is this 1.7 specific?

---

<div class="post-metadata">

**Author:** ![liuyxpp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/liuyxpp/32/9870_2.png) [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Post date:** [December 30, 2024, 12:47pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/4 "2024-12-30T12:47:09Z")

</div>

What does this env var do?

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 30, 2024, 12:50pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/5 "2024-12-30T12:50:36Z")

</div>

> [@ufechner7](#):
>
> `JULIA_PKG_SERVER_REGISTRY_PREFERENCE`

See the documentation of [`JULIA_PKG_SERVER_REGISTRY_PREFERENCE`](https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_PKG_SERVER_REGISTRY_PREFERENCE), but I doubt this has anything to do with the reported issue which is about downloading _any_ registry.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [December 30, 2024, 12:55pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/6 "2024-12-30T12:55:06Z")

</div>

> [@giordano](#):
>
> about downloading _any_ registry.

It was reported that downloading a specific registry fails, which can mean that a server or proxy is down. Using a different server might fix the issue.

---

<div class="post-metadata">

**Author:** ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)\
**Post date:** [December 30, 2024, 1:01pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/7 "2024-12-30T13:01:41Z")

</div>

> [@ufechner7](#):
>
> which can mean that a server or proxy is down.

That’s the thing: `JULIA_PKG_SERVER_REGISTRY_PREFERENCE` doesn’t change a server or a proxy.

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [December 30, 2024, 1:05pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/8 "2024-12-30T13:05:48Z")

</div>

If that would be true, why does the documentation says:

> Users behind restrictive firewalls that do not allow downloading from arbitrary servers should not use the eager flavor.

This indicates that the `eager` registry is served by different servers.

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [December 30, 2024, 1:12pm UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/9 "2024-12-30T13:12:48Z")

</div>

That documentation doesn’t refer to downloading of the registry itself. What may happen if you use the `eager` registry is that some of the package versions are not yet available to be downloaded from the package server, in which case `Pkg` falls back to fetching them directly from their repositories, which is referred to as “arbitrary servers”. In almost all cases this means github, but the point is that it’s somewhere else than the package server.

---

<div class="post-metadata">

**Author:** ![photor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/photor/32/14343_2.png) [@photor](https://discourse.julialang.org/u/photor)\
**Post date:** [December 31, 2024, 11:30am UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/10 "2024-12-31T11:30:35Z")

</div>

still doesn’t work

---

<div class="post-metadata">

**Author:** ![photor](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/photor/32/14343_2.png) [@photor](https://discourse.julialang.org/u/photor)\
**Post date:** [December 31, 2024, 11:31am UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/11 "2024-12-31T11:31:45Z")

</div>

no, my Julia v1.10.7 on the same machine has the same problem

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [December 31, 2024, 11:34am UTC](https://discourse.julialang.org/t/not-able-to-update-for-almost-one-week/124247/12 "2024-12-31T11:34:11Z")

</div>

In which country are you? Are you behind a corporate firewall?

The servers are all up: [https://status.julialang.org/](https://status.julialang.org/)
