Package: ghc
Version: 9.6.6-4

I tried to install ghc for as build dep for testing some stuff in unstable, but it failed with:

Setting up ghc (9.6.6-4) ...
/usr/lib/ghc/bin/./ghc-9.6.6: error while loading shared libraries: 
libHShaskeline-0.8.2.1-ghc9.6.6.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-9.6.6: error while loading shared libraries: 
libHSghc-boot-9.6.6-ghc9.6.6.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


Steps to reproduce:

debootstrap sid sid
chroot sid
apt install ghc

Same issue applies of I debootstrap a trixie.

/Mattias Wadenstein

Reply via email to