Package: postgresql-client-common Version: 122 postgres@a9:~$ psql Can't exec "dpkg-architecture": No such file or directory at /usr/bin/psql line 103. Use of uninitialized value $multiarch in scalar chomp at /usr/bin/psql line 104. psql (9.1.0) Type "help" for help.
postgres=# dpkg-architecture is in the dpkg-dev package, and it depends in a bunch of development things, totally unneeded in a production system. Regards, Roberto Lumbreras Debian developer