Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pkg.init() and Pkg.update() fails #13972

Closed
Mirage10 opened this issue Nov 13, 2015 · 7 comments
Closed

Pkg.init() and Pkg.update() fails #13972

Mirage10 opened this issue Nov 13, 2015 · 7 comments
Labels
packages Package management and loading

Comments

@Mirage10
Copy link

Hello julia community!

I am facing big problems with Julia packages: Pkg.init() and Pkg.update() are not working. I have scanned the internet regarding the message, but nothing seems to be the right solution. I have already had a long odyssey ...
This seems to be an frequent trap. So it might be advantageous to be more clear in the installation chapter of julia.

Pkg.init()     

displays the following :

INFO: Initializing package repository /home/user/.julia/v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: GitError(Code:ERROR, Class:Net, SSL error: error:140E0114:SSL routines:SSL_shutdown:uninitialized)
 [inlined code] from libgit2/error.jl:98
 in clone at libgit2/repository.jl:189
 in __clone#364__ at libgit2.jl:310
 in anonymous at pkg/dir.jl:49
 in cd at file.jl:47
 in init at pkg/dir.jl:47
 in init at pkg.jl:22
 in eval at ./boot.jl:264

by the way:

sudo git pull
sudo make

works fine! The only thing is, that I cannot install packages in Julia. My computer is behind the proxy. The proxy settings for git seems to be correct

System environment
Linux Mint 17.02 (based on Ubuntu 14.04)

newest julia from github
~/julia $ sudo ./julia
_
_ _ ()_ | A fresh approach to technical computing
() | () () | Documentation: http://docs.julialang.org
_ _ | | __ _ | Type "?help" for help.
| | | | | | |/ ` | |
| | |
| | | | (
| | | Version 0.5.0-dev+1265 (2015-11-13 08:40 UTC)
/ |_'|||__'| | Commit f045831 (0 days old master)
|__/ | x86_64-linux-gnu

@tkelman tkelman added the packages Package management and loading label Nov 13, 2015
@tkelman
Copy link
Contributor

tkelman commented Nov 13, 2015

duplicate of #13472
see #13952

@tkelman tkelman closed this as completed Nov 13, 2015
@Mirage10
Copy link
Author

It still seems not to be clear, what needs to be done. Therefore I would like to reopen this issue.

@tkelman
Copy link
Contributor

tkelman commented Nov 13, 2015

Make the modification shown in https://github.com/JuliaLang/julia/pull/13952/files, then do make -C deps distclean-libgit2 && make test-pkg.

@Mirage10
Copy link
Author

@tkelman : Thank you so much! your last post exactly solves my problem. cool!

@mronian
Copy link
Contributor

mronian commented Mar 18, 2016

@tkelman I am facing the same issue with Pkg. I tried the solution you mentioned above, but the make fails with a pkg-config not found error if I modify the flag.

@tkelman
Copy link
Contributor

tkelman commented Mar 18, 2016

What platform? Install pkg-config? Though it shouldn't be an error if you don't have pkg-config installed.

@mronian
Copy link
Contributor

mronian commented Mar 19, 2016

Ubuntu 14.04 LTS. I looked through some of the related issues and tried the approaches. #13472 worked for me in the end. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
packages Package management and loading
Projects
None yet
Development

No branches or pull requests

3 participants