Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Since the pandoc package in the repository is outdated, I would like to install it via cabal-install.

I ran cabal update, and then cabal install pandoc which fails with:

cabal: Couldn't read cabal file "pandoc/"

This might be relevant:

cabal --version
cabal-install version 0.10.2
using version of the Cabal library 

my machine is running oneiric.

share|improve this question

Type echo $PATH and you'll probably see something that either (a) does not include $HOME/.cabal/bin or contains $HOME/.cabal/bin near the end.

Type export PATH=$HOME/.cabal/bin:$PATH, and then cabal install cabal-install. This will install the proper version of cabal, since the version in the ubuntu repositories is out-of-date. Then, you can cabal install pandoc just fine.

share|improve this answer
Thank you for your reply. After replicated your recommended steps I now get the following error when running cabal install cabal-install: Building cabal-install- Main.hs:75:8: Could not find module `Distribution.Verbosity': There are files missing in the `Cabal-' package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. – jottr Oct 25 '12 at 14:14
When running ghc-pkg check I get a long list of broken packages. – jottr Oct 25 '12 at 14:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.