Comment 7 for bug 222022

Revision history for this message
Michael Vogt (mvo) wrote :

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)