Skip to content

Instantly share code, notes, and snippets.

@ingydotnet
Created October 12, 2011 19:29
Show Gist options
  • Save ingydotnet/1282262 to your computer and use it in GitHub Desktop.
Save ingydotnet/1282262 to your computer and use it in GitHub Desktop.
After a clean purge/install of haskell-platform on ubuntu natty (using apt-get):
ingy@thinkingy:~$ mv .cabal/ cabal-old2
ingy@thinkingy:~$ cabal update
Config file path source is default config file.
Config file /home/ingy/.cabal/config not found.
Writing default configuration to /home/ingy/.cabal/config
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
ingy@thinkingy:~$ cabal install cabal-install
Resolving dependencies...
Downloading parsec-3.1.1...
Configuring parsec-3.1.1...
Preprocessing library parsec-3.1.1...
Building parsec-3.1.1...
Text/Parsec/Prim.hs:77:7:
Could not find module `Control.Monad.Error.Class':
There are files missing in the `mtl-2.0.1.0' package,
try running 'ghc-pkg check'.
Use -v to see a list of the files searched for.
cabal: Error: some packages failed to install:
HTTP-4000.0.9 depends on parsec-3.1.1 which failed to install.
cabal-install-0.10.2 depends on parsec-3.1.1 which failed to install.
network-2.3.0.2 depends on parsec-3.1.1 which failed to install.
parsec-3.1.1 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment