Hi, I was looking at this bug and it is not occuring in unstable anymore, but still it is nice to know where this is going wrong.
The plugins library shipped in libghc6-plugins-dev 0.9.10-1 (and 0.9.10-2) is build aganst Cabal-1.0 provided by ghc6. Cabal-1.1.3 is shipped by libghc6-cabal-dev which when in installed hides Cabal-1.0. When libghc6-plugins-dev is installed, it tries to register itself but fails because Cabal-1.0 is hiden. One way to solve this is to conflict against libghc6-cabal-dev. The other way is to hide the Cabal-1.1.3 before registering the plugins library, which can be done by using ghc-pkg register in the postinst script of libghc6-plugins-dev. As libghc6-cabal-dev can not be installed with the new version of ghc6 in unstable anyway we only have one version of Cabal again and the problem does not occur anymore. Still it might be a good idea to modify the calls to ghc-pkg in the maintainer scripts to from "ghc-pkg -g --add-package < $config;" to "ghc-pkg -g update $config" Greetings Arjan.
signature.asc
Description: Dit berichtdeel is digitaal ondertekend