[Haskell-cafe] [OT] Install ghc6-doc fails [SOLVED}

J. Pablo Fernández pupeno at pupeno.com
Sun Jul 22 02:00:55 EDT 2007


It seems the problem was that those haddock files where generated by a 
previous version of haddock, ocmpiled with a previous version of ghc6. Now 
that I had a current ghc6, and a current haddock compiled with the current 
ghc6, I recompiled ghc6 and that worked :)

On Sunday 22 July 2007 01:44:16 J. Pablo Fernández wrote:
> Hello,
>
> This may be a bit off topic, but maybe someone here has importante related
> information. I am running Kubuntu, the lattests stable version, but I am
> running unstable Haskell packages, that is, I fetch the dsc, diff and
> tarballs and build the debs myself of what will come in the next version of
> Kubuntu. So I have the advantage of running recent versions, and at the
> same time, keeping packages (which come usefull when I want to remove
> everything, or when mainstream software is too weird).
> But, installing the ghc6-doc packages gives me this error:
>
> (Reading database ... 156024 files and directories currently installed.)
> Preparing to replace ghc6-doc 6.6.1-2 (using ghc6-doc_6.6.1-2_all.deb) ...
> Unpacking replacement ghc6-doc ...
> Setting up ghc6-doc (6.6.1-2) ...
> haddock: Warning: The interface file "base/base.haddock" could not be read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "Cabal/Cabal.haddock" could not be
> read. Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "filepath/filepath.haddock" could not
> be read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "parsec/parsec.haddock" could not be
> read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "readline/readline.haddock" could not
> be read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "regex-base/regex-base.haddock" could
> not be read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "regex-compat/regex-compat.haddock"
> could not be read.
> Maybe it's from a later version of Haddock?
> haddock: Warning: The interface file "regex-posix/regex-posix.haddock"
> could not be read.
> Maybe it's from a later version of Haddock?
> haddock: Data.Binary.getWord8: end of file
>
> dpkg: error processing ghc6-doc (--install):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  ghc6-doc
>
>
> I am running the lattest haddock (0.8), so the problem might be something
> else. Any ideas what the problem might be?
>
> Thank you.



-- 
J. Pablo Fernández <pupeno at pupeno.com> (http://pupeno.com)


More information about the Haskell-Cafe mailing list