-
Notifications
You must be signed in to change notification settings - Fork 10
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
Could not read index. Did you call 'checkForUpdates'? #16
Comments
Thanks for reporting this, will check it out. |
@ChinaXing Are you behind a proxy? We had someone report a similar error and running either |
I'm getting this same error - I'm on macOS 10.13.3 and when I try to compile a program or update etlas I'm getting the message: Downloading the latest package lists from:
I tried both etlas --http-transport=wget update and etlas --http-transport=plain-http update but I got the same error both time. |
Hi @madeleinergibson , could you share the output of |
@jneira Sure thing! $ etlas --version $ etlas update -v3
$ etlas --version && etlas update -v3
|
@madeleinergibson i think that etlas version have a problem with the update, could you download the latest stable version (1.2.0.0) from https://eta-lang.org/docs/eta-concepts/getting-started/install-eta#binary-installation and try again? |
@jneira I couldn't get that to work either, unfortunately! Same exact error message. |
@madeleinergibson You're not behind a proxy right? Can you share the |
Can confirm
|
Can you share the output of |
for hackage
after removing packages and
|
If possible, can you install |
It worked before installing dnsutils |
@xmonader reports that installing |
I'm having the same problem with output of
Update: |
having this problem on wsl ubuntu
|
@Arrple does this happen consistently? |
@rahulmutt for when I tried, yes it happen consistently, I removed ~/.etlas ~/.eta and then update serval time
|
So I found a slightly similar error with another Haskell app: reflex-frp/reflex-platform#293. It turns out it's a problem specifically with WSL and it may be fixed by upgrading. |
docker run -it typelead/eta
then
root@62da0fd6a9ba:~/.etlas/packages# etlas update -v3
no user package environment file found at /root/.etlas/packages
Downloading the latest package lists from:
Searching for curl in path.
Cannot find curl on the path
Searching for powershell in path.
Cannot find powershell on the path
Searching for wget in path.
Cannot find wget on the path
Selected http transport implementation: plain-http
Updating index cache file
/root/.etlas/packages/hackage.haskell.org/01-index.cache ...
Searching for git in path.
Found git at /usr/bin/git
/usr/bin/git --version
etlas: Could not read index. Did you call 'checkForUpdates'?
The text was updated successfully, but these errors were encountered: