Help with cabal

Simon Peyton Jones simonpj at microsoft.com
Thu Apr 4 09:59:50 UTC 2019


ok thanks.  But still, how can I tell it to look at fpcomplete instead? And why does it do so automatically on one machine but not on another?



From: ghc-devs <ghc-devs-bounces at haskell.org> On Behalf Of Sylvain Henry
Sent: 04 April 2019 10:56
To: ghc-devs at haskell.org
Subject: Re: Help with cabal


Hi Simon,

Hackage on haskell.org is down: https://www.reddit.com/r/haskell/comments/b99cef/hackage_downtime/<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.reddit.com%2Fr%2Fhaskell%2Fcomments%2Fb99cef%2Fhackage_downtime%2F&data=02%7C01%7Csimonpj%40microsoft.com%7C5f169c2750ca467d59ee08d6b8e3ce9f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636899685894478524&sdata=zDY7Srj%2FL%2FCzMQe35b3YVyIsSLf5SMtiTugGl5SAJQU%3D&reserved=0>

Sylvain


On 04/04/2019 11:51, Simon Peyton Jones via ghc-devs wrote:
I'm setting up my GHC builds on a new machine, and this time I'm using WSL (windows subsystem for Linux).

Small problem.  I've installed cabal-3.0, and say "cabal update".  But I get

Unexpected response 502for http://hackage.haskell.org/timestamp.json<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhackage.haskell.org%2Ftimestamp.json&data=02%7C01%7Csimonpj%40microsoft.com%7C5f169c2750ca467d59ee08d6b8e3ce9f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636899685894488516&sdata=94%2FqExpSPn0nc2XQb%2FZrtlQCrpvWacg2UPBvcXr0V%2B8%3D&reserved=0>

And indeed, that's what a web browser says for that same URL.

What do to?

Oddly, on another also-new Windows machine, I do exactly the same thing, and with 'cabal update -v' I can see that it gets the same error, but then moves on to try hackages.fpcomplete.com, which works.

Why does the behaviour differ?  And, at least for now, how can I get the first machine to look at hackage.fpcomplete.com?

Thanks

Simon



_______________________________________________

ghc-devs mailing list

ghc-devs at haskell.org<mailto:ghc-devs at haskell.org>

http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs<https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-devs&data=02%7C01%7Csimonpj%40microsoft.com%7C5f169c2750ca467d59ee08d6b8e3ce9f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636899685894488516&sdata=7uATMniEvYQVvCuQdhuxFhPTqJG9zcqR6G8Ah%2FBeJb8%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190404/b4641d70/attachment.html>


More information about the ghc-devs mailing list