Control: tags -1 moreinfo On Wed, Feb 07, 2018 at 05:02:09PM +0100, Holger Levsen wrote: > Package: ghc > Version: 8.0.2-11 > Severity: serious > > Selecting previously unselected package ghc. > Preparing to unpack .../ghc_8.0.2-11_amd64.deb ... > Unpacking ghc (8.0.2-11) ... > Setting up libbsd-dev:amd64 (0.8.7-1) ... > Setting up ghc (8.0.2-11) ... > /usr/lib/ghc/bin/ghc: error while loading shared libraries: > libHShaskeline-0.7.3.0-ghc8.0.2.so: cannot open shared object file: No > such file or directory > update-alternatives: using /usr/bin/ghc to provide > /usr/bin/haskell-compiler (haskell-compiler) in auto mode > /usr/lib/ghc/bin/ghc-pkg: error while loading shared libraries: > libHSterminfo-0.4.0.2-ghc8.0.2.so: cannot open shared object file: No > such file or directory > dpkg: error processing package ghc (--configure): > installed ghc package post-installation script subprocess returned > error exit status 127 > Processing triggers for man-db (2.8.0-2) ... > Errors were encountered while processing: > ghc > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > This is from a sid schroot which I first upgraded as usual, which failed > like the above, so I removed ghc and tried to install it again, which > then produced the output above.
Hi, I just upgraded my sid system without issue. I also tried installing ghc in an up-to-date cowbuilder chroot and it all worked. Can you run `/usr/lib/ghc/bin/ghc-pkg --version` successfully? Please try running with LD_DEBUG=libs,files and post the output. Regards, James