[Haskell-cafe] Flushing Cabal's cache

Daniel Fischer daniel.is.fischer at googlemail.com
Sat Jan 22 17:48:44 CET 2011

On Saturday 22 January 2011 17:31:58, Aaron Gray wrote:
> I am getting the following error :-
>     C:\Languages\Lexer\Haskell>cabal install ranges
>     Resolving dependencies...
>     cabal: Error: some packages failed to install:
>     ranges-0.2.3 failed while unpacking the package. The exception was:
>     user error (TAR checksum error)
> I am on Windows Vista, is it possible to clean or delete Cabal's cache ?

You can delete the offending .tar.gz in your $HOME/.cabal file (or wherever 
the stuff is on Vista). Go to $HOME/.cabal/packages/hackage.haskell.org and 
delete the folder "ranges" or the .tar.gz therein (after unregistering 
ranges from GHC if you haven't already done that).

> Many thanks in advance,
> Aaron

More information about the Haskell-Cafe mailing list