[Hackage] #545: Uninformative error message when cabal install download fails

Hackage trac at galois.com
Tue Dec 22 08:28:07 EST 2009


#545: Uninformative error message when cabal install download fails
---------------------------------+------------------------------------------
  Reporter:  abayley             |        Owner:                     
      Type:  defect              |       Status:  new                
  Priority:  normal              |    Milestone:  cabal-install-0.8  
 Component:  cabal-install tool  |      Version:  1.6.0.1            
  Severity:  normal              |   Resolution:                     
  Keywords:                      |   Difficulty:  very easy (<1 hour)
Ghcversion:                      |     Platform:                     
---------------------------------+------------------------------------------
Comment (by duncan):

 {{{
 Tue Dec 22 13:25:26 GMT 2009  Duncan Coutts <duncan at haskell.org>
   * Display the exception for failed downloads
   Not great but better than nothing.
 }}}
 Now we get:
 {{{
 cabal install foo
 Resolving dependencies...
 Downloading foo-1.0...
 cabal: Error: some packages failed to install:
 foo-1.0 failed while downloading the package. The exception was:
 user error (openTCPConnection: host lookup failure for "null.haskell.org")
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/545#comment:2>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list