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

"Fetching package index ..." never finished. Don't know if it freezed or not. #1984

Closed
wizzup opened this issue Apr 2, 2016 · 2 comments
Closed

Comments

@wizzup
Copy link

wizzup commented Apr 2, 2016

Possible duplicated issues: #1962, #1223, #774

This is the first time I run stack after installed it.
I am using stack 1.0.4.2 from Arch linux.
I don't think my internet connection is slow or has any problem. I don't have problem cloning any github repo.

Is there a way to manually 'git fetch' whatever stack is fetching ?

[wisut@earth ~]$ stack --version
Version 1.0.4.2 x86_64
[wisut@earth ~]$ stack setup --verbose
Version 1.0.4.2 x86_64
2016-04-02 14:55:56.332255: [debug] Checking for project config at: /home/wisut/stack.yaml @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:761:9)
2016-04-02 14:55:56.332561: [debug] Checking for project config at: /home/stack.yaml @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:761:9)
2016-04-02 14:55:56.342718: [debug] Checking for project config at: /stack.yaml @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:761:9)
2016-04-02 14:55:56.342920: [debug] No project config file found, using defaults. @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:783:13)
2016-04-02 14:55:56.343644: [debug] Run process: ldd /usr/bin/stack @(stack_5xoCB8Vl1plFNNNfk8BYdK:System.Process.Read src/System/Process/Read.hs:269:3)
2016-04-02 14:55:56.360440: [info] Run from outside a project, using implicit global project config @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:431:13)
2016-04-02 14:55:56.361412: [info] Using resolver: lts-5.10 from implicit global project's config file: /home/wisut/.stack/global-project/stack.yaml @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.Config src/Stack/Config.hs:445:32)
2016-04-02 14:55:56.361711: [debug] Trying to decode /home/wisut/.stack/build-plan-cache/x86_64-linux/lts-5.10.cache @(stack_5xoCB8Vl1plFNNNfk8BYdK:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-04-02 14:55:56.361909: [debug] Failure decoding /home/wisut/.stack/build-plan-cache/x86_64-linux/lts-5.10.cache @(stack_5xoCB8Vl1plFNNNfk8BYdK:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:59:13)
2016-04-02 14:55:56.362172: [debug] Decoding build plan from: /home/wisut/.stack/build-plan/lts-5.10.yaml @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.BuildPlan src/Stack/BuildPlan.hs:445:5)
2016-04-02 14:55:57.735589: [info] Caching build plan @(stack_5xoCB8Vl1plFNNNfk8BYdK:Stack.BuildPlan src/Stack/BuildPlan.hs:220:5)
2016-04-02 14:55:57.735870: [debug] Trying to decode /home/wisut/.stack/indices/Hackage/00-index.cache @(stack_5xoCB8Vl1plFNNNfk8BYdK:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-04-02 14:55:57.736071: [debug] Failure decoding /home/wisut/.stack/indices/Hackage/00-index.cache @(stack_5xoCB8Vl1plFNNNfk8BYdK:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:59:13)
2016-04-02 14:55:57.736705: [debug] Run process: git fetch --tags --depth=1 @(stack_5xoCB8Vl1plFNNNfk8BYdK:System.Process.Read src/System/Process/Read.hs:269:3)
Fetching package index ...
@mgsloan
Copy link
Contributor

mgsloan commented Apr 3, 2016

I've implemented #1223, so hopefully at least it will be clearer what's going wrong.

@wizzup
Copy link
Author

wizzup commented Apr 11, 2016

Update: I try again today. The problem was gone. It take about 20 mins to fetch the whole things.

@wizzup wizzup closed this as completed Apr 11, 2016
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

2 participants