On Monday, July 23, 2012, Simon Hengel wrote:
 
On Mon, Jul 23, 2012 at 12:51:32PM -0500, Stephen Paul Weber wrote:
> > Currently you would have to do the upgrade manually, as `cabal-install
> > cabal-install` won't work (or alternatively edit your local
> > ~/.cabl/packages/hackage.haskell.org/00-index.tar).
>
> Pending a fix on hackage (hopefully) I've been using `cabal copy && cabal
> register` to grab specific packages today.
>
> How would I go about fixing my 00-index.tar?  I tride de-tarring, deleting
> the recent versions of HUnit, and re-tarring, and when I copy that file in
> cabal starts telling me no packages exist...?

E.g. with vim, you can edit files in the tar file (in-place).  That is
what I did, and it worked fine.

I use

  tar f 00-index.tar --delete Hunit/1.2.5.0/Hunit.cabal 

Works with GNU tar, not with BSD/mac. 

Erik