Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id F25B71337BDC for ; Wed, 29 Dec 2010 15:09:25 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 70945-06-4 for ; Wed, 29 Dec 2010 19:09:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 5D5311337BD4 for ; Wed, 29 Dec 2010 15:09:15 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id oBTJ9EC6057386 for ; Wed, 29 Dec 2010 19:09:14 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id oBTJ9EJE057385; Wed, 29 Dec 2010 19:09:14 GMT (envelope-from www) Date: Wed, 29 Dec 2010 19:09:14 GMT Message-Id: <201012291909.oBTJ9EJE057385@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5807: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted" From: "Gabe Nell" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201012/207 X-Sequence-Number: 29013 The following bug has been logged online: Bug reference: 5807 Logged by: Gabe Nell Email address: gabe@kikini.com PostgreSQL version: 9.0.2 Operating system: Linux Ubuntu 10.04 Description: psql fails to launch with "Cannot read termcap database; using dumb terminal settings. Aborted" Details: I am seeing this on fresh installs of Ubuntu 10.04 using the binary installer downloaded from EnterpriseDB: sudo ./postgresql-9.0.2-1-linux.bin --mode unattended --superpassword mypassword Launching psql fails: ubuntu@host:~$ /opt/PostgreSQL/9.0/bin/psql -Upostgres Password for user postgres: psql (9.0.2) Type "help" for help. Cannot read termcap database; using dumb terminal settings. Aborted ubuntu@host:~$ The above works fine with 9.0.1, suggesting this is a new issue in 9.0.2. I tried both 32bit and 64bit, same problem. Interestingly, the problem doesn't repro under byobu (Ubuntu's enhanced 'screen' utility).