<div dir="ltr">Adding the haskell-stack mailing list, that's more focused than <a href="mailto:haskell@haskell.org">haskell@haskell.org</a>. Just leaving this message on that mailing list in case someone in the future wonders where this conversation is moving to.<br>Short answer: try adding the following to ~/.stack/config.yaml:<br><br>package-indices:<br>- name: Hackage<br>  download-prefix: <a href="https://s3.amazonaws.com/hackage.fpcomplete.com/package/">https://s3.amazonaws.com/hackage.fpcomplete.com/package/</a><br>  http: <a href="https://s3.amazonaws.com/hackage.fpcomplete.com/00-index.tar.gz">https://s3.amazonaws.com/hackage.fpcomplete.com/00-index.tar.gz</a><div><br></div><div>Longer answer: most likely it wasn't completely stalled, just going _very_ slowly. We've had some reports from users - usually depending on geography - of slow downloads of the cabal file Git repo. The snippet above will switch you into an HTTPS download, which may be faster.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 3, 2016 at 10:21 PM, Nikos Karagiannidis <span dir="ltr"><<a href="mailto:nikoshaskell@gmail.com" target="_blank">nikoshaskell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>I am tryning to install Stack on an 64-bit Ubuntu VM (Ubuntu 16.04.1 LTS).</div><div><br></div><div>I have followed strictly all the steps that are mentioned in:</div><div><br></div><div><a href="https://docs.haskellstack.org/en/stable/install_and_upgrade/#ubuntu" target="_blank">https://docs.haskellstack.org/<wbr>en/stable/install_and_upgrade/<wbr>#ubuntu</a> <br></div><div><br></div><div>the installation completes OK and I get the following stack version installed:</div><div><br></div><div><div><b>$ stack --version</b></div><div><b>Version 1.2.0, Git revision 241cd07d576d9c0c0e712e83d947e3<wbr>dd64541c42 (4054 commits) x86_64 hpack-0.14.0</b></div></div><div><br></div><div>But, when I run "stack setup"  it tries to update package index and then it stucks there forever!</div><div><br></div><div><div><b>$ stack setup</b></div><div><b>Run from outside a project, using implicit global project config</b></div><div><b>Using resolver: lts-7.11 from implicit global project's config file: /home/nikos/.stack/global-<wbr>project/stack.yaml</b></div><div><b>Updating package index Hackage (mirrored at <a href="https://github.com/commercialhaskell/all-cabal-hashes.git" target="_blank">https://github.com/<wbr>commercialhaskell/all-cabal-<wbr>hashes.git</a>) ...</b></div></div><div><br></div><div>any suggestions?</div><div><br></div><div>thank you in advance!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Nikos</div><div><br></div></font></span></div>
<br>______________________________<wbr>_________________<br>
Haskell mailing list<br>
<a href="mailto:Haskell@haskell.org">Haskell@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/haskell</a><br>
<br></blockquote></div><br></div>