升级postgresql-8.1的问题

升级的时候提示:

正在设置 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

This entry was posted in Linux and tagged , , . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please copy the string G9wRt8 to the field below:

以新浪微博帐号登录