
I had the same issue, using the ghc 6.10.4 "generic linux" tarball on Ubuntu
Jaunty x86_64. I attempted to install a newer Haskell Platform over the
older one.
I'm not sure what causes the issue. After several attempts to remedy it
without success, I ended up completely reinstalling ghc and ghc-related
things on my system, and not using the Haskell Platform. Drastic, but I
don't get those cabal errors any more.
Regards,
Bradford Larsen
On Aug 31, 2009 2:43 PM, "Fernando Henrique Sanches" <
fernandohsanches@gmail.com> wrote:
Sorry for ressurecting the thread, my I'm having the same problem here.
Deleting the .cabal/config file shows only temporary results, and -v3 isn't
helping:
~/sources/haskell-platform-2009.2.0.2 % cabal update
Config file /home/fernando/.cabal/config not found.
Writing default configuration to /home/fernando/.cabal/config
Downloading the latest package list from hackage.haskell.org
~/sources/haskell-platform-2009.2.0.2 % cabal update
cabal: :: openFile: does not exist (No such file or directory)
~/sources/haskell-platform-2009.2.0.2 % cabal update -v3
cabal: ?: openFile: does not exist (No such file or directory)
I'm on Ubuntu 9.04 x64. ghc 6.10.4
This is the output of the mentioned describe-parsec command, but I don't
know what to do with it:
~/sources/haskell-platform-2009.2.0.2 % ghc-pkg describe parsec-2.1.0.1
name: parsec
version: 2.1.0.1
license: BSD3
copyright:
maintainer: Daan Leijen