Can't Pkg.add probably due to bug

Andres_Legarra
Tue, 04 Feb 2025 17:07:47 +0000
New to Julia

Hi

we use julia version 1.6.1 in a server (of which I am not root) and all went smoothly for months. Now we can not install packages any longer, instead we get

julia> using Pkg; Pkg.add("Optim")
    Updating registry at `~/.julia/registries/General`
    Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Resolving package versions...
┌ Error: curl_multi_socket_action: 8
└ @ Downloads.Curl /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.6/Downloads/src/Curl/utils.jl:36

and it gets stuck. Control-C does not do anything useful.

This has been reported elsewhere (e.g. Error on installation packages and (I think) StackOverflowError with curl_multi_socket_action · Issue #94 · JuliaLang/Downloads.jl · GitHub . But I don’t see a solution other than installing a new version, which is a Big Hassle. Does anyone have a workaround?

thanks

Andres

6 posts - 4 participants