I can reproduce this just fine in a clean kvm test environment:
Setting up libghc6-hsql-postgresql-dev (1.7-1) ...^M Reading package info from "/usr/lib/haskell-packages/ghc6/lib/hsql-postgresql-1.7/installed-pkg-config" ... done.^M ghc-pkg: /usr/include/postgresql/8.3/server doesn't exist or isn't a directory (use --force to override)^M dpkg: error processing libghc6-hsql-postgresql-dev (--configure):^M subprocess post-installation script returned error exit status 1^M Setting up libghc6-x11-dev (1.4.1-1) ...^M + set -e + GHC=ghc-6.8.2 + GHC_PKG=/usr/lib/ghc-6.8.2/bin/ghc-pkg + CONFIGFILE=/usr/lib/haskell-packages/ghc6/lib/hsql-postgresql-1.7/installed-pkg-config + /usr/lib/ghc-6.8.2/bin/ghc-pkg --global field hsql-postgresql version + sed s/version: // + OLDVERSION= + [ -n ] + /usr/lib/ghc-6.8.2/bin/ghc-pkg --global --auto-ghci-libs register /usr/lib/haskell-packages/ghc6/lib/hsql-postgresql-1.7/installed-pkg-config Reading package info from "/usr/lib/haskell-packages/ghc6/lib/hsql-postgresql-1.7/installed-pkg-config" ... done. ghc-pkg: /usr/include/postgresql/8.3/server doesn't exist or isn't a directory (use --force to override)
I can reproduce this just fine in a clean kvm test environment:
Setting up libghc6- hsql-postgresql -dev (1.7-1) ...^M haskell- packages/ ghc6/lib/ hsql-postgresql -1.7/installed- pkg-config" ... done.^M postgresql/ 8.3/server doesn't exist or isn't a directory (use --force to override)^M hsql-postgresql -dev (--configure):^M /usr/lib/ ghc-6.8. 2/bin/ghc- pkg /usr/lib/ haskell- packages/ ghc6/lib/ hsql-postgresql -1.7/installed- pkg-config ghc-6.8. 2/bin/ghc- pkg --global field hsql-postgresql version ghc-6.8. 2/bin/ghc- pkg --global --auto-ghci-libs register /usr/lib/ haskell- packages/ ghc6/lib/ hsql-postgresql -1.7/installed- pkg-config haskell- packages/ ghc6/lib/ hsql-postgresql -1.7/installed- pkg-config" ... done. postgresql/ 8.3/server doesn't exist or isn't a directory (use --force to override)
Reading package info from "/usr/lib/
ghc-pkg: /usr/include/
dpkg: error processing libghc6-
subprocess post-installation script returned error exit status 1^M
Setting up libghc6-x11-dev (1.4.1-1) ...^M
+ set -e
+ GHC=ghc-6.8.2
+ GHC_PKG=
+ CONFIGFILE=
+ /usr/lib/
+ sed s/version: //
+ OLDVERSION=
+ [ -n ]
+ /usr/lib/
Reading package info from "/usr/lib/
ghc-pkg: /usr/include/