You are not logged in.

#1 2019-08-23 07:16:38

amiragha
Member
From: US
Registered: 2012-11-20
Posts: 19

Julia lang: unable to add or update packages after upgrade to 1.2

Hello,

After the recent upgrade to the new julia 1.2, when I try to update or add packages:

julia> Pkg.update()

I get the following error:

   Cloning default registries into `~/.julia`
   Cloning registry from "https://github.com/JuliaRegistries/General.git"
ERROR: could not load library "libgit2"
libcurl.so.4: ELF load command address/offset not properly aligned
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.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:149
 [2] up at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:143 [inlined]
 [3] #up#42 at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:138 [inlined]
 [4] up at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:138 [inlined]
 [5] #up#39 at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:135 [inlined]
 [6] up() at /build/julia/src/julia-1.2.0/usr/share/julia/stdlib/v1.2/Pkg/src/API.jl:135
 [7] top-level scope at REPL[5]:1

Any thought/ideas what I should do to fix this?

Offline

#2 2019-08-24 13:25:46

kifuna
Member
Registered: 2015-01-29
Posts: 40

Re: Julia lang: unable to add or update packages after upgrade to 1.2

Offline

Board footer

Powered by FluxBB