我的是 8.04版
在安装 PostgreSQL 时出现这个错误 导致我一直不能使用升级和安装其他软件
查询了很多英文网站 也没有找到解决的方法
求高手帮忙解决
│
│ Obsolete major version 8.2 ↑
│ ▮
│ The PostgreSQL version 8.2 is obsolete, but the server or client ▒
│ packages are still installed. Please install the latest packages ▒
│ (postgresql-8.3 and postgresql-client-8.3) and upgrade the existing ▒
│ clusters with pg_upgradecluster (see manpage). ▒
│ ▒
│ Please be aware that the installation of postgresql-8.3 will ▒
│ automatically create a default cluster 8.3/main. If you want to upgrade ▒
│ the 8.2/main cluster, you need to remove the already existing 8.3 ▒
│ cluster (pg_dropcluster --stop 8.3 main, see manpage for details). ▒
│ ▒
│ The old server and client packages are no longer supported. After the ▒
│ existing clusters are upgraded, the postgresql-8.2 and
postgresql-client-8.2 packages should be removed. ▒
│ ▒
│ Please see /usr/share/doc/postgresql-common/README.Debian.gz for ▮
│ details.
这个问题就导致 所有 apt-get 无法使用
如下显示
无法获得排它锁
一般的,这表示有其它的软件包管理程序(例如apt-get或者aptitude)正在运行。请首先关闭那些应用程序。