Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Duncan Coutts
On Wed, 2008-10-01 at 01:59 +0200, Cetin Sert wrote: A reminder: When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package list cabal update #download list of new packages cabal upgrade #make any upgrades Note that 'cabal upgrade' upgrades everything

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Malcolm Wallace
When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package list cabal update #download list of new packages cabal upgrade #make any upgrades I never knew there was a 'cabal update' command, and it worries me. In my unhappy experience of packaging systems

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Duncan Coutts
On Wed, 2008-10-01 at 08:58 +0100, Malcolm Wallace wrote: When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package list cabal update #download list of new packages cabal upgrade #make any upgrades I never knew there was a 'cabal update' command,

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Svein Ove Aas
On Wed, Oct 1, 2008 at 7:54 PM, Duncan Coutts Because we actually consult the index of available packages more often than you think. Every time you cabal install in a local directory we make sure all the required packages are available and consistent. If we had to go to the network every time

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Martin DeMello
On Tue, Sep 30, 2008 at 9:01 PM, Duncan Coutts [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 01:59 +0200, Cetin Sert wrote: A reminder: When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package list cabal update #download list of new packages cabal upgrade

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Svein Ove Aas
On Wed, Oct 1, 2008 at 9:52 PM, Martin DeMello [EMAIL PROTECTED] wrote: $ cabal install yi Resolving dependencies... 'yi-0.4.6.2' is cached. Configuring yi-0.4.6.2... cabal: alex version =2.0.1 3 is required but it could not be found. cabal: Error: some packages failed to install:

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Martin DeMello
On Wed, Oct 1, 2008 at 1:04 PM, Svein Ove Aas [EMAIL PROTECTED] wrote: On Wed, Oct 1, 2008 at 9:52 PM, Martin DeMello [EMAIL PROTECTED] wrote: $ cabal install yi Resolving dependencies... 'yi-0.4.6.2' is cached. Configuring yi-0.4.6.2... cabal: alex version =2.0.1 3 is required but it

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Gwern Branwen
On 2008.10.01 12:52:47 -0700, Martin DeMello [EMAIL PROTECTED] scribbled 1.2K characters: On Tue, Sep 30, 2008 at 9:01 PM, Duncan Coutts [EMAIL PROTECTED] wrote: On Wed, 2008-10-01 at 01:59 +0200, Cetin Sert wrote: A reminder: When I wanted to upgrade to yi 0.4.6.2, I needed to download

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Martin DeMello
On Wed, Oct 1, 2008 at 1:06 PM, Gwern Branwen [EMAIL PROTECTED] wrote: Yi fails on Alex because Cabal doesn't track executables, nor executables needed for installation. You want 'cabal install alex yi'; Yay, that finally worked :) Had to add ~/.cabal/bin to my path first, which wasn't hard

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Gwern Branwen
On 2008.10.01 13:24:55 -0700, Martin DeMello [EMAIL PROTECTED] scribbled 0.9K characters: On Wed, Oct 1, 2008 at 1:06 PM, Gwern Branwen [EMAIL PROTECTED] wrote: Yi fails on Alex because Cabal doesn't track executables, nor executables needed for installation. You want 'cabal install alex

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Duncan Coutts
On Wed, 2008-10-01 at 20:53 +0200, Svein Ove Aas wrote: On Wed, Oct 1, 2008 at 7:54 PM, Duncan Coutts Because we actually consult the index of available packages more often than you think. Every time you cabal install in a local directory we make sure all the required packages are available

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread wman
On Wed, Oct 1, 2008 at 10:52 PM, Duncan Coutts [EMAIL PROTECTED]wrote: and you have network access, start updating it. That's hard. Detecting if we would be able to make a network connection without actually doing it is not something I know how to do (esp in a portable way). We would very

Re: [Haskell-cafe] cabal upgrade

2008-10-01 Thread Krzysztof Skrzętnicki
On Thu, Oct 2, 2008 at 00:00, Svein Ove Aas [EMAIL PROTECTED] wrote: That aside, why not start downloading in the background, while it's doing whatever you started cabal for? Assuming the network is working, you should have an updated package list by the time it's done; granted, it won't be

Re: [Haskell-cafe] cabal upgrade

2008-09-30 Thread Cetin Sert
A reminder: When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package list cabal update #download list of new packages cabal upgrade #make any upgrades Regards, CS 2008/9/26 Duncan Coutts [EMAIL PROTECTED] On Fri, 2008-09-26 at 10:49 +0200, Achim

[Haskell-cafe] cabal upgrade

2008-09-26 Thread Achim Schneider
% cabal update Downloading package list from server 'http://hackage.haskell.org/packages/archive' % cabal install pureMD5 All requested packages already installed. Nothing to do. % cabal install pureMD5-0.2.4 Downloading 'pureMD5-0.2.4'... [...] Well, I might be spoiled by portage but shouldn't

Re: [Haskell-cafe] cabal upgrade

2008-09-26 Thread Brandon S. Allbery KF8NH
On 2008 Sep 26, at 4:49, Achim Schneider wrote: Well, I might be spoiled by portage but shouldn't there be a thing like cabal upgrade pureMD5 and cabal upgrade --all snuffy:502 Z$ cabal help upgrade Usage: cabal upgrade [FLAGS] or: cabal upgrade [PACKAGES] -- brandon s. allbery

Re: [Haskell-cafe] cabal upgrade

2008-09-26 Thread Duncan Coutts
On Fri, 2008-09-26 at 10:49 +0200, Achim Schneider wrote: % cabal update Downloading package list from server 'http://hackage.haskell.org/packages/archive' % cabal install pureMD5 All requested packages already installed. Nothing to do. % cabal install pureMD5-0.2.4 Downloading