The cause of the failure is
=====
Preparing to replace libghc6-mtl-dev 1.0-2 (using .../libghc6-mtl-dev_1.0-3_i386.deb) ...
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/usr/lib/libghc6-network-dev/unregister.sh: 3: /usr/bin/ghc-pkg: not found
dpkg: error processing /var/cache/apt/archives/libghc6-network-dev_2.0-3_i386.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/usr/lib/libghc6-network-dev/register.sh: 31: /usr/bin/ghc-pkg: not found
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 127
=====
I'm closing this report because it's already fixed.
The cause of the failure is mtl-dev_ 1.0-3_i386. deb) ... libghc6- network- dev/unregister. sh: 3: /usr/bin/ghc-pkg: not found apt/archives/ libghc6- network- dev_2.0- 3_i386. deb (--unpack): libghc6- network- dev/register. sh: 31: /usr/bin/ghc-pkg: not found
=====
Preparing to replace libghc6-mtl-dev 1.0-2 (using .../libghc6-
dpkg: warning - old pre-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/usr/lib/
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 127
/usr/lib/
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 127
=====
I'm closing this report because it's already fixed.