FS#65889 - [julia] can't Pkg.update() and install package

Attached to Project: Community Packages
Opened by Daniel YC Lin (dlin) - Thursday, 19 March 2020, 05:47 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 19 March 2020, 06:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After 'pacman -Syu', julia can't Pkg.update(), is that require rebuild?

I've tried these, but all failed.

1. downgrade to old libgit2
2. rebuild libgit2
3. rebuild julia, failed on test

Additional info:
* package version(s)

libgit2 1:0.99.0-2
julia 2:1.3.1-1

* config and/or log files etc.

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#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:152
[2] up at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
[3] #up#42 at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:141 [inlined]
[4] up at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:141 [inlined]
[5] #up#39 at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:138 [inlined]
[6] up() at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:138
[7] top-level scope at none:1
caused by [exception 1]
GitError(Code:ERROR, Class:Invalid, invalid version 0 on git_proxy_options)
Stacktrace:
[1] #up#43(::Pkg.Types.UpgradeLevel, ::Pkg.Types.PackageMode, ::Bool, ::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::typeof(Pkg.API.up), ::Pkg.Types.Context, ::Array{Pkg.Types.PackageSpec,1}) at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:152
[2] up at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:146 [inlined]
[3] #up#42 at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:141 [inlined]
[4] up at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:141 [inlined]
[5] #up#39 at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:138 [inlined]
[6] up() at /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/API.jl:138
[7] top-level scope at none:1

* link to upstream bug report, if any

Steps to reproduce:

rm -rf ~/.julia
julia -q -e 'using Pkg; Pkg.update()'
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 19 March 2020, 06:45 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#65540 

Loading...