Delay between hackage upload and cabal-install seeing package

Malcolm Wallace Malcolm.Wallace at
Thu May 14 07:09:09 EDT 2009

On Thu, May 14, 2009 at 10:52:36AM +0100, Alistair Bayley wrote:
> > I've uploaded Takusen-0.8.5 to hackage...
> > but "cabal install Takusen" still tries to get 0.8.4. Is there a
> > separate database/file for cabal install ...

Yes, and it is stored locally on your machine.  You must do
    cabal update
to refresh your local machine cache.

Personally, I would prefer "cabal install" to automatically refresh its
own local cache (when appropriate), without this extra step.  If cabal
is going to reach out over the net to download package sources, it might
as well ensure that it collects the latest version of the index first.


More information about the cabal-devel mailing list