Oh, and as a workaround, you can change /var/lib/dpkg/info/libghc6
-gtkglext-dev.prerm (and postrm) to ignore errors of ghc-pkg (and run
apt-get -f install afterwards), by changing the line

${GHC_PKG} unregister gtkglext-0.9.13
to
${GHC_PKG} unregister gtkglext-0.9.13 || true

and
${GHC_PKG} register 
/usr/lib/haskell-packages/ghc6/lib/gtkglext-0.9.13/gtkglext.package.conf 
to
${GHC_PKG} register 
/usr/lib/haskell-packages/ghc6/lib/gtkglext-0.9.13/gtkglext.package.conf  || 
true

likewise.
Please note however, that this might leave the package config cache of ghc6 in 
an inconsistant state.

Cheers,
   Stefan.

-- 
package libghc6-gtkglext-dev 0.9.13-2ubuntu3 failed to install/upgrade: 
subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/295584
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to