[Pkg-haskell-maintainers] Bug#781649: ghc-doc: trigger problem during wheezy->jessie upgrade: haddock: error while loading shared libraries: libffi.so.6: cannot open shared object file: No such file or directory

Andreas Beckmann anbe at debian.org
Wed Apr 1 09:37:37 UTC 2015


On 2015-04-01 11:17, Joachim Breitner wrote:
> eek. This is #769554 which I was hoping to have fixed by changing the
> trigger to a trigger-noawait, but it seems that it has not helped.

That is probably the correct solution, just we need to ensure that the
new ghc-doc get installed early enough (or at least the old one gets
deconfigured)

Maybe dpkg: Breaks: ghc-doc (<< switch-to-noawait~) would be sufficient.

> Hence my question to those in the know: How do I make sure that
> ghc-doc’s trigger is not run until all of ghc-doc’s dependencies (and
> their dependencies) are installed (not necessarily configured).
> 
> The current chain of dependencies is:
> Package: ghc-doc
> Depends: haddock-interface-22, perl

in wheezy it is:
Package: ghc-doc
Depends: haddock-interface-19, perl

> Package: ghc-haddock
> Provides: haddock, haddock-interface-21, haddock-interface-22
> Depends: ghc (= 7.6.3-19), libc6 (>= 2.14), libffi6 (>= 3.0.4), libgmp10

Probably ghc-haddock: Breaks: ghc-doc (<< switch-to-noawait~) should help.


Andreas



More information about the Pkg-haskell-maintainers mailing list