[Haskell-cafe] cabal: internal error when reading package index

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Sep 18 11:53:05 CEST 2013


On 18 September 2013 19:23, Henk-Jan van Tuyl <hjgtuyl at chello.nl> wrote:
>
> L.S.,
>
> I was trying to install a package from a local drive and got the following
> message:
>   >cabal install
>   Resolving dependencies...
>   cabal: internal error when reading package index: could not read tar file
>   entryThe package index or index cache is probably corrupt. Running cabal
>   update might fix it.
>
> Then I tried cabal update:
>   >cabal update
>   Downloading the latest package list from hackage.haskell.org
>   Skipping download: Local and remote files match.
>   Note: there is a new version of cabal-install available.
>   To upgrade, run: cabal install cabal-install
>
> Trying the command
>   cabal install cabal-install
> gave the same internal error message as for the first command.
>
> What can I do about this?

Maybe try deleting the current download?  Namely
~/.cabal/packages/hackage.haskell.org/00-index.*

>
> Regards,
> Henk-Jan van Tuyl
>
>
> --
> Folding at home
> What if you could share your unused computer power to help find a cure? In
> just 5 minutes you can join the world's biggest networked computer and get
> us closer sooner. Watch the video.
> http://folding.stanford.edu/
>
>
> http://Van.Tuyl.eu/
> http://members.chello.nl/hjgtuyl/tourdemonad.html
> Haskell programming
> --
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com



More information about the Haskell-Cafe mailing list