Package: libghc6-mtl-dev Version: 1.0-2 Severity: important This bug bit me in today's upgrade run. The following is a later reproduction of the bug:
[EMAIL PROTECTED]:~$ sudo dpkg -l ghc6 libghc6-mtl-dev ghc6-prof Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii ghc6 6.6-2 GHC - the Glasgow Haskell Compilation system ii ghc6-prof 6.6-2 Profiling libraries for the Glasgow Haskell ii libghc6-mtl-de 1.0-1 Haskell monad transformer library for GHC [EMAIL PROTECTED]:~$ sudo dpkg -i /var/cache/apt/archives/ghc6_6.6-3_amd64.deb /v ar/cache/apt/archives/ghc6-prof_6.6-3_amd64.deb /var/cache/apt/archives/libghc6- mtl-dev_1.0-2_amd64.deb (Reading database ... 180664 files and directories currently installed.) Preparing to replace ghc6 6.6-2 (using .../archives/ghc6_6.6-3_amd64.deb) ... Unpacking replacement ghc6 ... Preparing to replace ghc6-prof 6.6-2 (using .../ghc6-prof_6.6-3_amd64.deb) ... Unpacking replacement ghc6-prof ... Preparing to replace libghc6-mtl-dev 1.0-1 (using .../libghc6-mtl-dev_1.0-2_amd6 4.deb) ... /usr/lib/libghc6-mtl-dev/unregister.sh: 3: /usr/bin/ghc-pkg: not found dpkg: warning - old pre-removal script returned error exit status 127 dpkg - trying script from the new package instead ... /usr/lib/libghc6-mtl-dev/unregister.sh: 3: /usr/bin/ghc-pkg: not found dpkg: error processing /var/cache/apt/archives/libghc6-mtl-dev_1.0-2_amd64.deb ( --install): subprocess new pre-removal script returned error exit status 127 /usr/lib/libghc6-mtl-dev/register.sh: 37: /usr/bin/ghc-pkg: not found dpkg: error while cleaning up: subprocess post-installation script returned error exit status 127 Setting up ghc6 (6.6-3) ... Setting up ghc6-prof (6.6-3) ... Errors were encountered while processing: /var/cache/apt/archives/libghc6-mtl-dev_1.0-2_amd64.deb [EMAIL PROTECTED]:~$ -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-1-amd64 Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Versions of packages libghc6-mtl-dev depends on: ii ghc6 [libghc6-base-dev] 6.6-3 GHC - the Glasgow Haskell Compilat ii ghc6-prof [libghc6-base-prof] 6.6-3 Profiling libraries for the Glasgo libghc6-mtl-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]