Does anyone else have the problem of not being able to add the General registry? I get
(@v1.14) pkg> registry add General
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34
Exception: RequestError: HTTP/2 404 while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34
I also can’t access this file in any other way. The problem occurred when I tried to update packages (it worked some minutes before in a different environment). I tried to remove the registry and adding it again, but no luck.
I am having this issue too, as well as my other colleagues who use julia. I think it’s a system-wide error. Here’s the message I get
failed to download from https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/fcd178d2ac9db7a1f07d36abf034c8c7716f40b8. Exception: RequestError: HTTP/1.1 404 Not Found while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/fcd178d2ac9db7a1f07d36abf034c8c7716f40b
I updated Julia from 1.11.8 to 1.11.9 this morning, and then tried to update an environment, but I got a 404 error from the package server. I also installed the most recent 1.12 release through juliaup and got the same error when running ]up.
Julia 1.11.9
Updating registry at `C:\Users\johnb\.julia\registries\General.toml`
┌ Error: Some registries failed to update:
│ — C:\Users\johnb\.julia\registries\General.toml — failed to download from https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34. Exception: RequestError: HTTP/1.1 404 Not Found while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34
└ @ Pkg.Registry C:\Users\johnb\.julia\juliaup\julia-1.11.9+0.x64.w64.mingw32\share\julia\stdlib\v1.11\Pkg\src\Registry\Registry.jl:546
Julia 1.12.5
Updating registry at `C:\Users\johnb\.julia\registries\General.toml`
┌ Error: Some registries failed to update:
│ — C:\Users\johnb\.julia\registries\General.toml — failed to download from https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34. Exception: RequestError: HTTP/1.1 404 Not Found while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/2af0b9e846fff196e81025db217fd0c934cf0b34
└ @ Pkg.Registry C:\Users\johnb\.julia\juliaup\julia-1.12.5+0.x64.w64.mingw32\share\julia\stdlib\v1.12\Pkg\src\Registry\Registry.jl:574
I found a thread from a long time ago (2018) that suggested deleting .julia/registries/, but given how long ago it’s from, I’m hesitant to follow that advice.
When I check the url from the error messages, it returns 404 in my browser as well.
I was able to add the registry from the github page using ]registry add https://github.com/JuliaRegistries/General,
relevant thread: Updating registry (recent issue)
but when I followed the instructions displayed after running ]registry up I got the same issue as you
(@v1.12) pkg> registry add https://github.com/JuliaRegistries/General
Cloning registry from "https://github.com/JuliaRegistries/General"
Added registry `General` to `C:\Users\johnb\.julia\registries\General`
(@v1.12) pkg> registry st
Registry Status
[23338594] General (https://github.com/JuliaRegistries/General.git)
(@v1.12) pkg> registry up
Updating registry at `C:\Users\johnb\.julia\registries\General`
┌ Info: The General registry is installed via git. Consider reinstalling it via
│ the newer faster direct from tarball format by running:
│ pkg> registry rm General; registry add General
└
Updating git-repo `https://github.com/JuliaRegistries/General`
(@v1.12) pkg> registry rm General; registry add General
Removing registry `General` from C:\Users\johnb\.julia\registries\General
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/fcd178d2ac9db7a1f07d36abf034c8c7716f40b8
Exception: RequestError: HTTP/1.1 404 Not Found while requesting https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/fcd178d2ac9db7a1f07d36abf034c8c7716f40b8