Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Pkg.init() fails with https: Name or service not known #17661

@petercolberg

Description

@petercolberg

Using julia 0.5.0-rc0 with libgit2 0.24.1 on Debian sid:

julia> Pkg.init()
INFO: Initializing package repository /home/peter/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:Net, Failed to resolve address for https: Name or service not known)
 in init() at ./pkg/pkg.jl:70

julia> versioninfo()
Julia Version 0.5.0-rc0+0
Commit 0030eec (2016-07-26 20:22 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz
  WORD_SIZE: 64
  BLAS: libopenblas (NO_LAPACKE DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
  LLVM: libLLVM-3.8.1 (ORCJIT, ivybridge)

The libgit2 Debian package is built with libcurl3-gnutls 7.47.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libgit2The libgit2 library or the LibGit2 stdlib moduleupstreamThe issue is with an upstream dependency, e.g. LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions