升级的时候提示:
正在设置 postgresql-common (48ubuntu2) …
dpkg:处理 postgresql-common (–configure)时出错:
子进程·post-installation script·返回了错误号·1
不知道是什么问题,搜索到ubuntu的BUG:
https://launchpad.net/distros/ubuntu/+source/postgresql-common/+bug/36921/+index
才知道是因为DAPPER修改了版本号导致了此问题。
临时的解决方法:
sudo apt-get install postgresql-client-common
sudo nano /usr/share/postgresql-common/supported-versions
# and change 6.04 to 6.06
sudo apt-get install postgresql-common
# install other postgres packages as needed.
# or just do
sudo apt-get -f install
发表回复