[Haskell-cafe] cabal update : getHostByName
marco-oweber at gmx.de
Mon Sep 1 09:14:32 EDT 2008
On Mon, Sep 01, 2008 at 12:01:49PM +0200, minh thu wrote:
> I've followed the instruction from the upcoming book Real World
> Haskell to install cabal.
> Now, when I enter "cabal update", it answers this:
> Downloading package list from server
> cabal: getHostByName: does not exist (no such host entry)
Not sure which libraries you (cabal) is using here.
On some debian System there has been a dns issue.
You should check wether the tool is using the curl bindings http library
and look for this problem in forums of your distro.
Maybe try curl <url> That gives
That gives: ... The document has moved
to http://hackage.haskell.org/packages/archive/ (note the last slash)
Maybe also try adding the ip of hackage.haskell.org to /etc/hosts for a
temporary workaround ?
You should also tell us which operating system you are using.
More information about the Haskell-Cafe