can't install,remove,upgrade or ... packages on ubuntu

view full story

http://askubuntu.com – when I wanna doing anything with Synaptic or apt-get or stop , start, restart postgresql I will recivied following error Setting up postgresql-common (114) ... * Starting PostgreSQL 8.4 database server * Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 63. [fail] invoke-rc.d: initscript postgresql, action "start" failed. dpkg: error processing postgresql-common (--configure): subprocess installed post-installation script returned error ex (HowTos)