Ticket #228 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Cryptic error when a package does not exist

Reported by: guest Assigned to:
Priority: normal Milestone:
Component: cabal-install tool Version: 1.2.3.0
Severity: normal Keywords:
Cc: Difficulty: easy (<4 hours)
GHC Version: 6.8.2 Platform: Linux

Description

$ cabal install foo
cabal: user error (Unresolved dependencies: foo -any)

I expect a clearer error message here. Not sure about the exact wording, maybe »No such package available: foo« or »No such package to fetch: foo«.

Change History

02/01/08 18:17:29 changed by duncan

  • status changed from new to closed.
  • resolution set to fixed.

Already fixed in development version:

$ cabal install foo
cabal: There is no package named foo

I can highly recommend upgrading to the development version. There are many improvements.