Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/d40a4eef5f7d63013a1f5bd8a1265616e6ddd63b #2742

Closed
songrunxian opened this issue Sep 24, 2021 · 9 comments

Comments

@songrunxian
Copy link

Dear professor:
i use conda to install like this:conda install -c conda-forge julia
However:

Preparing transaction: done
Verifying transaction: done
Executing transaction: / ERROR: Unexpected end of data : jl_oIePR5-download
Installing known registries into ~/.julia
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/d40a4eef5f7d63013a1f5bd8a1265616e6ddd63b
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55
[2] (::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec})(tmp::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1035
[3] mktempdir(fn::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:729
[4] mktempdir (repeats 2 times)
@ ./file.jl:727 [inlined]
[5] clone_or_cp_registries(ctx::Pkg.Types.Context, regs::Vector{Pkg.Types.RegistrySpec}, depot::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1027
[6] clone_or_cp_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1020 [inlined]
[7] clone_default_registries(ctx::Pkg.Types.Context; only_if_empty::Bool)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:920
[8] clone_default_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:908 [inlined]
[9] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:242
[10] #up#41
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:84 [inlined]
[11] instantiate(ctx::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Base.BinaryPlatforms.Platform, allow_build::Bool, allow_autoprecomp::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1340
[12] instantiate
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1325 [inlined]
[13] #instantiate#252
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321 [inlined]
[14] instantiate()
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321
[15] top-level scope
@ none:1

caused by: EOFError: read end of file
Stacktrace:
[1] read_data(tar::Base.Process, file::IOStream; size::Int64, buf::Vector{UInt8}, tee::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:654
[2] JuliaLang/julia#63
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:670 [inlined]
[3] open(f::Tar.var"#63#64"{Int64, Vector{UInt8}, Base.DevNull, Base.Process}, args::String; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
@ Base ./io.jl:330
[4] #read_data#62
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:669 [inlined]
[5] (::Tar.var"#26#28"{Vector{UInt8}, Bool, Base.Process, String})(hdr::Tar.Header, parts::Vector{SubString{String}})
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:71
[6] read_tarball(callback::Tar.var"#26#28"{Vector{UInt8}, Bool, Base.Process, String}, predicate::Tar.var"#1#2", tar::Base.Process; buf::Vector{UInt8}, skeleton::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:347
[7] extract_tarball(predicate::Function, tar::Base.Process, root::String; buf::Vector{UInt8}, skeleton::Base.DevNull, copy_symlinks::Bool)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:51
[8] (::Tar.var"#83#86"{String, Base.Process, Tar.var"#1#2"})(skeleton::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:215
[9] arg_write(f::Tar.var"#83#86"{String, Base.Process, Tar.var"#1#2"}, arg::Base.DevNull)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:112
[10] JuliaLang/julia#82
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:214 [inlined]
[11] arg_mkdir(f::Tar.var"#82#85"{Base.Process, Base.DevNull, Tar.var"#1#2"}, arg::String)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:163
[12] JuliaLang/julia#81
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:210 [inlined]
[13] arg_read(f::Tar.var"#81#84"{Base.DevNull, Tar.var"#1#2", String}, arg::Base.Process)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:61
[14] extract(predicate::Function, tarball::Base.Process, dir::String; skeleton::Nothing, copy_symlinks::Nothing)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:209
[15] #extract#87
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:231 [inlined]
[16] (::Pkg.PlatformEngines.var"#24#26"{String})(io::Base.Process)
@ Pkg.PlatformEngines /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/PlatformEngines.jl:512
[17] open(::Pkg.PlatformEngines.var"#24#26"{String}, ::Cmd; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./process.jl:393
[18] open
@ ./process.jl:391 [inlined]
[19] download_verify_unpack(url::String, hash::Nothing, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool, io::IOStream)
@ Pkg.PlatformEngines /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/PlatformEngines.jl:511
[20] (::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec})(tmp::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1033
[21] mktempdir(fn::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:729
[22] mktempdir (repeats 2 times)
@ ./file.jl:727 [inlined]
[23] clone_or_cp_registries(ctx::Pkg.Types.Context, regs::Vector{Pkg.Types.RegistrySpec}, depot::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1027
[24] clone_or_cp_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1020 [inlined]
[25] clone_default_registries(ctx::Pkg.Types.Context; only_if_empty::Bool)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:920
[26] clone_default_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:908 [inlined]
[27] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:242
[28] #up#41
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:84 [inlined]
[29] instantiate(ctx::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Base.BinaryPlatforms.Platform, allow_build::Bool, allow_autoprecomp::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1340
[30] instantiate
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1325 [inlined]
[31] #instantiate#252
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321 [inlined]
[32] instantiate()
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321
[33] top-level scope
@ none:1

done
ERROR conda.core.link:_execute(699): An error occurred while installing package 'conda-forge::julia-1.6.2-h438a1c7_3'.
Rolling back transaction: done

LinkError: post-link script failed for package conda-forge::julia-1.6.2-h438a1c7_3
location of failed script: /home/agrogene_lq/software/anaconda3/envs/julia/bin/.julia-post-link.sh
==> script messages <==
ERROR: Unexpected end of data : jl_oIePR5-download
Installing known registries into ~/.julia
┌ Warning: could not download https://pkg.julialang.org/registries
└ @ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:997
ERROR: could not download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/d40a4eef5f7d63013a1f5bd8a1265616e6ddd63b
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:55
[2] (::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec})(tmp::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1035
[3] mktempdir(fn::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:729
[4] mktempdir (repeats 2 times)
@ ./file.jl:727 [inlined]
[5] clone_or_cp_registries(ctx::Pkg.Types.Context, regs::Vector{Pkg.Types.RegistrySpec}, depot::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1027
[6] clone_or_cp_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1020 [inlined]
[7] clone_default_registries(ctx::Pkg.Types.Context; only_if_empty::Bool)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:920
[8] clone_default_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:908 [inlined]
[9] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:242
[10] #up#41
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:84 [inlined]
[11] instantiate(ctx::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Base.BinaryPlatforms.Platform, allow_build::Bool, allow_autoprecomp::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1340
[12] instantiate
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1325 [inlined]
[13] #instantiate#252
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321 [inlined]
[14] instantiate()
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321
[15] top-level scope
@ none:1

caused by: EOFError: read end of file
Stacktrace:
[1] read_data(tar::Base.Process, file::IOStream; size::Int64, buf::Vector{UInt8}, tee::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:654
[2] JuliaLang/julia#63
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:670 [inlined]
[3] open(f::Tar.var"#63#64"{Int64, Vector{UInt8}, Base.DevNull, Base.Process}, args::String; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:write,), Tuple{Bool}}})
@ Base ./io.jl:330
[4] #read_data#62
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:669 [inlined]
[5] (::Tar.var"#26#28"{Vector{UInt8}, Bool, Base.Process, String})(hdr::Tar.Header, parts::Vector{SubString{String}})
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:71
[6] read_tarball(callback::Tar.var"#26#28"{Vector{UInt8}, Bool, Base.Process, String}, predicate::Tar.var"#1#2", tar::Base.Process; buf::Vector{UInt8}, skeleton::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:347
[7] extract_tarball(predicate::Function, tar::Base.Process, root::String; buf::Vector{UInt8}, skeleton::Base.DevNull, copy_symlinks::Bool)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/extract.jl:51
[8] (::Tar.var"#83#86"{String, Base.Process, Tar.var"#1#2"})(skeleton::Base.DevNull)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:215
[9] arg_write(f::Tar.var"#83#86"{String, Base.Process, Tar.var"#1#2"}, arg::Base.DevNull)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:112
[10] JuliaLang/julia#82
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:214 [inlined]
[11] arg_mkdir(f::Tar.var"#82#85"{Base.Process, Base.DevNull, Tar.var"#1#2"}, arg::String)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:163
[12] JuliaLang/julia#81
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:210 [inlined]
[13] arg_read(f::Tar.var"#81#84"{Base.DevNull, Tar.var"#1#2", String}, arg::Base.Process)
@ ArgTools /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/ArgTools/src/ArgTools.jl:61
[14] extract(predicate::Function, tarball::Base.Process, dir::String; skeleton::Nothing, copy_symlinks::Nothing)
@ Tar /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:209
[15] #extract#87
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Tar/src/Tar.jl:231 [inlined]
[16] (::Pkg.PlatformEngines.var"#24#26"{String})(io::Base.Process)
@ Pkg.PlatformEngines /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/PlatformEngines.jl:512
[17] open(::Pkg.PlatformEngines.var"#24#26"{String}, ::Cmd; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./process.jl:393
[18] open
@ ./process.jl:391 [inlined]
[19] download_verify_unpack(url::String, hash::Nothing, dest::String; tarball_path::Nothing, ignore_existence::Bool, force::Bool, verbose::Bool, quiet_download::Bool, io::IOStream)
@ Pkg.PlatformEngines /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/PlatformEngines.jl:511
[20] (::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec})(tmp::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1033
[21] mktempdir(fn::Pkg.Types.var"#82#85"{Pkg.Types.Context, String, Pkg.Types.RegistrySpec}, parent::String; prefix::String)
@ Base.Filesystem ./file.jl:729
[22] mktempdir (repeats 2 times)
@ ./file.jl:727 [inlined]
[23] clone_or_cp_registries(ctx::Pkg.Types.Context, regs::Vector{Pkg.Types.RegistrySpec}, depot::String)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1027
[24] clone_or_cp_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:1020 [inlined]
[25] clone_default_registries(ctx::Pkg.Types.Context; only_if_empty::Bool)
@ Pkg.Types /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:920
[26] clone_default_registries
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/Types.jl:908 [inlined]
[27] up(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:242
[28] #up#41
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:84 [inlined]
[29] instantiate(ctx::Pkg.Types.Context; manifest::Nothing, update_registry::Bool, verbose::Bool, platform::Base.BinaryPlatforms.Platform, allow_build::Bool, allow_autoprecomp::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1340
[30] instantiate
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1325 [inlined]
[31] #instantiate#252
@ /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321 [inlined]
[32] instantiate()
@ Pkg.API /home/conda/feedstock_root/build_artifacts/julia_1632355821063/work/usr/share/julia/stdlib/v1.6/Pkg/src/API.jl:1321
[33] top-level scope
@ none:1

==> script output <==
stdout:
stderr:
return code: 1

()

So what can I do?

@DilumAluthge
Copy link
Member

This is a known issue. Please see https://discourse.julialang.org/t/general-registry-delays-and-a-workaround/67537 for details and a workaround.

@KristofferC
Copy link
Member

I don't really see how this issue is related to https://discourse.julialang.org/t/general-registry-delays-and-a-workaround/67537. This seems like a complete failure to download the registry.

@DilumAluthge DilumAluthge reopened this Sep 24, 2021
@DilumAluthge DilumAluthge transferred this issue from JuliaLang/julia Sep 24, 2021
@DilumAluthge
Copy link
Member

I think it's the same underlying issue (reliability of the Pkg servers), right?

For example, if I try to download https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/d40a4eef5f7d63013a1f5bd8a1265616e6ddd63b, it downloads just fine for me. So I think that the reason that the user was unable to download the registry was due to Pkg server reliability, which is broadly the same issue as discussed in the Discourse thread, even though the specific reasons for reliability (outdated registry versus temporary fail to download) are different.

@KristofferC
Copy link
Member

I've never really seen a complaint about them being unreliable in the sense of a complete failure to download, just that they can be delayed. Maybe I missed those though.

@DilumAluthge
Copy link
Member

I've seen a couple of other users bring it up on Slack recently. I'm not sure if there's been a recent uptick or not.

@songrunxian
Copy link
Author

this is a problem for me

@StefanKarpinski
Copy link
Member

StefanKarpinski commented Sep 24, 2021

@songrunxian, looks like you may not be able to reach the pkg server at all. Can you try this:

julia> using Downloads

julia> request("https://pkg.julialang.org/registries")

@KristofferC
Copy link
Member

Closing as need more information. Also, try use the official binaries over conda (unless they serve the official binaries).

@logankilpatrick
Copy link
Member

I just got this warning when I downloaded my first package with 1.8, I posted a question on Stack Overflow, I am not sure if I need to do anything or if the warning can be ignored: https://stackoverflow.com/questions/73431054/could-not-download-https-geo-pkg-julialang-org-registries-exception-when-downl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants