darcs

Issue 1652 README should suggest "cabal update"

Title README should suggest "cabal update"
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, marnix, twb, zooko
Assigned To
Topics Documentation

Created on 2009-10-20.01:47:34 by zooko, last changed 2009-10-24.00:37:14 by admin.

Messages
msg8971 (view) Author: zooko Date: 2009-10-20.01:47:31
I ran "darcs get --lazy --tag=2.3.1 http://darcs.net" and then followed the 
README, which said to run "cabal install".  I did so and got this error:

Resolving dependencies...
cabal: cannot configure darcs-2.3.1. It requires hashed-storage >=0.4.0 &&
<0.5 && >=0.4.0 && <0.5, haskeline >=0.6.1 && <0.7 && >=0.6.1 && <0.7 and zlib
>=0.5.1.0 && <0.6.0.0 && >=0.5.1.0 && <0.6.0.0 && >=0.5.1.0 && <0.6.0.0
There is no available version of hashed-storage that satisfies >=0.4.0 && <0.5
&& >=0.4.0 && <0.5
There is no available version of haskeline that satisfies >=0.6.1 && <0.7 &&
>=0.6.1 && <0.7
There is no available version of zlib that satisfies >=0.5.1.0 && <0.6.0.0 &&
>=0.5.1.0 && <0.6.0.0 && >=0.5.1.0 && <0.6.0.0

By asking on IRC, I was told that I needed to run "cabal update" to get past 
this problem.  Perhaps the README should suggest running "cabal update".  
(Presumably people who are cabal experts will know that they can skip this step 
in most cases.)
msg8972 (view) Author: marnix Date: 2009-10-20.04:43:28
Zooko wrote:

 > [...etc...]
> 
> By asking on IRC, I was told that I needed to run "cabal update" to get past 
> this problem.  Perhaps the README should suggest running "cabal update".  
> (Presumably people who are cabal experts will know that they can skip this step 
> in most cases.)

I would suggest that *cabal* should suggest to run "cabal update"-- that 
seems like the Right Thing To Do (TM).  (And for current versions of 
cabal which don't, yes, please update the README.)
msg8973 (view) Author: kowey Date: 2009-10-20.07:38:35
I'll submit a patch for this.

As for the cabal update suggestion, that would be
http://hackage.haskell.org/trac/hackage/ticket/497
msg8974 (view) Author: kowey Date: 2009-10-20.17:53:32
The following patch updated the status of issue1652 to be resolved:

* Resolve issue1652: suggest cabal update before cabal install. 
Ignore-this: de39107c4c324ee83d1a63d950e83a1c
History
Date User Action Args
2009-10-20 01:47:34zookocreate
2009-10-20 04:43:30marnix.kloostersetnosy: + marnix.klooster
messages: + msg8972
2009-10-20 07:38:40koweysetstatus: unknown -> has-patch
nosy: + twb, kowey
topic: + Documentation
messages: + msg8973
title: missing detail in README plus error message not too helpful -> README should suggest "cabal update"
2009-10-20 17:53:35koweysetstatus: has-patch -> resolved
nosy: kowey, darcs-devel, zooko, twb, dmitry.kurochkin, marnix.klooster
messages: + msg8974
2009-10-24 00:37:14adminsetnosy: + marnix, - marnix.klooster