Delay between hackage upload and cabal-install seeing package

Alistair Bayley alistair at abayley.org
Thu May 14 07:06:16 EDT 2009


2009/5/14 Ross Paterson <ross at soi.city.ac.uk>:
> On Thu, May 14, 2009 at 10:52:36AM +0100, Alistair Bayley wrote:
>> I've uploaded Takusen-0.8.5 to hackage, and it's visible at
>>   http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Takusen
>>
>> but "cabal install Takusen" still tries to get 0.8.4. Is there a
>> separate database/file for cabal install which is rebuilt
>> periodically, and it so, how often? i.e. how long is the delay between
>> upload and being able to test cabal-install?
>
> The database is
>
> http://hackage.haskell.org/packages/archive/00-index.tar.gz
>
> It's updated before the upload returns, and indeed Takusen-0.8.5 is in there.
> A web caching glitch?

Possibly, within cabal? I said "cabal update" and that seemed to fix
it. Does cabal-install check that it's local database is up to date?

Alistair



More information about the cabal-devel mailing list