FS#66263 - [julia] invalid version 0 on git_proxy_options

Attached to Project: Community Packages
Opened by Some One (mergen) - Wednesday, 15 April 2020, 08:42 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 15 April 2020, 09:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When one tries to update the registry, the error below is produced:

julia> Pkg.update()
Cloning default registries into `~/.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:Invalid, invalid version 0 on git_proxy_options)
Stacktrace:
[1] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:206
[2] up at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:201 [inlined]
[3] #up#47 at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:196 [inlined]
[4] up at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:196 [inlined]
[5] #up#44 at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:193 [inlined]
[6] up() at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:193
[7] top-level scope at REPL[3]:1
caused by [exception 1]
GitError(Code:ERROR, Class:Invalid, invalid version 0 on git_proxy_options)
Stacktrace:
[1] up(::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}; level::Pkg.Types.UpgradeLevel, mode::Pkg.Types.PackageMode, update_registry::Bool, kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:206
[2] up at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:201 [inlined]
[3] #up#47 at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:196 [inlined]
[4] up at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:196 [inlined]
[5] #up#44 at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:193 [inlined]
[6] up() at /build/julia/src/julia-1.4.1/usr/share/julia/stdlib/v1.4/Pkg/src/API.jl:193
[7] top-level scope at REPL[3]:1


Additional info:
* package version(s)

julia 2:1.4.1-1
libgit2 1:1.0.0-1


* config and/or log files etc.

default config


* link to upstream bug report, if any

might be useful

https://github.com/JuliaLang/julia/issues/33111#issuecomment-602657052

Steps to reproduce:

$ julia
julia> using Pkg
julia> Pkg.update()
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 15 April 2020, 09:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#65540 

Loading...