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

Issue adding ZMQ via Pkg.add on Ubuntu 16.04.5 LTS on Windows 10 using WSL #192

Closed
JKRT opened this issue Jun 2, 2019 · 3 comments
Closed

Comments

@JKRT
Copy link

JKRT commented Jun 2, 2019

I use Julia Version 1.1.1 (2019-05-16)
on lsb_release -a:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial

Using WSL on Windows 10.

Currently when I try to add ZMQ I get

(v1.1) pkg> add ZMQ Updating registry at /.julia/registries/General┌ Warning: Some registries failed to update: │ —/.julia/registries/General` — registry dirty
└ @ Pkg.Types ~/Tools/julia/usr/share/julia/stdlib/v1.1/Pkg/src/Types.jl:1269
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package ZMQ [c2297ded]:
ZMQ [c2297ded] log:
├─ZMQ [c2297ded] has no known versions!
└─restricted to versions * by an explicit requirement — no versions left

(v1.1) pkg>`

I have tried to follow the instructions given in #69 but it did not resolve my issue.

Any input would be very appreciated 👍

@JKRT JKRT changed the title Issue adding ZMQ via Pkg.add Issue adding ZMQ via Pkg.add on Ubuntu 16.04.5 LTS on Windows 10 using WSL Jun 2, 2019
@JKRT
Copy link
Author

JKRT commented Jun 3, 2019

I have attempted to do what was described in the following tickets:
JuliaPackaging/BinDeps.jl#122
#191
I then issued the following commands:

> sudo apt get install ca-certificates
> cacert=/etc/ssl/certs/ca-certificates.crt 
> Restart 
> sudo apt get update && sudo apt get upgrade 
> Run WSL as administrator 

Still no sucess

@JKRT
Copy link
Author

JKRT commented Jun 3, 2019

I got it working via an interactive root session
> sudo -i
Still why this is the case I do not know, I should not need to be root to install the package, is there any fix for this?

It also seems to be the case that sudo -s does not work

@JKRT
Copy link
Author

JKRT commented Jun 4, 2019

I seem to have resolve my issue. The issue seems to be installing Julia before having a certificate. What worked for me was removing my .julia file from my $HOME.

Then recreating it once I had added a certificate..

Maybe this resolves somebodys headaches

Best regards

John

@JKRT JKRT closed this as completed Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant