Thank you Michael, it now works like a charm! On Sunday, December 4, 2016 at 12:18:01 AM UTC+2, Michael Snoyman wrote: > > Adding the haskell-stack mailing list, that's more focused than > [email protected] <javascript:>. Just leaving this message on that > mailing list in case someone in the future wonders where this conversation > is moving to. > Short answer: try adding the following to ~/.stack/config.yaml: > > package-indices: > - name: Hackage > download-prefix: > https://s3.amazonaws.com/hackage.fpcomplete.com/package/ > http: https://s3.amazonaws.com/hackage.fpcomplete.com/00-index.tar.gz > > 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. > > On Sat, Dec 3, 2016 at 10:21 PM, Nikos Karagiannidis <[email protected] > <javascript:>> wrote: > >> Hi all, >> >> I am tryning to install Stack on an 64-bit Ubuntu VM (Ubuntu 16.04.1 LTS). >> >> I have followed strictly all the steps that are mentioned in: >> >> https://docs.haskellstack.org/en/stable/install_and_upgrade/#ubuntu >> >> the installation completes OK and I get the following stack version >> installed: >> >> *$ stack --version* >> *Version 1.2.0, Git revision 241cd07d576d9c0c0e712e83d947e3dd64541c42 >> (4054 commits) x86_64 hpack-0.14.0* >> >> But, when I run "stack setup" it tries to update package index and then >> it stucks there forever! >> >> *$ stack setup* >> *Run from outside a project, using implicit global project config* >> *Using resolver: lts-7.11 from implicit global project's config file: >> /home/nikos/.stack/global-project/stack.yaml* >> *Updating package index Hackage (mirrored at >> https://github.com/commercialhaskell/all-cabal-hashes.git >> <https://github.com/commercialhaskell/all-cabal-hashes.git>) ...* >> >> any suggestions? >> >> thank you in advance! >> >> Nikos >> >> >> _______________________________________________ >> Haskell mailing list >> [email protected] <javascript:> >> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell >> >> >
-- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/01efe82e-5203-46e2-b718-2c7c1827ce70%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
