我正在使用安装在 Dell Vostro 15 3000 系列笔记本电脑上的 Ubuntu 12.04。当我打
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
它工作正常然后我打了
sudo apt-get upgrade
Run Code Online (Sandbox Code Playgroud)
然后当我按下Y它时会出现如下错误:
(Reading database ... 204809 files and directories currently installed.)
Preparing to replace postgresql-9.1 9.1.16-0ubuntu0.12.04 (using .../postgresql-9.1_9.1.17-0ubuntu0.12.04_amd64.deb) ...
* Stopping PostgreSQL 9.1 database server * Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 246.
Insecure directory in $ENV{PATH} while running with -T switch at /usr/bin/pg_ctlcluster line 255.
(does not shutdown gracefully, now stopping immediately)
[fail]
invoke-rc.d: initscript postgresql, …Run Code Online (Sandbox Code Playgroud)