在ubuntu 9.10上安裝postgresql 8.4錯誤

在ubuntu 9.10上安裝postgresql 8.4錯誤

將 Ubuntu 升級到版本 9.10 並刪除 postgresql 8.3 後,我運行apt-get 安裝 postgresql-8.4收到以下訊息:

設定 postgresql-8.4 (8.4.2-0ubuntu9.10) ...
設定已經存在的叢集(設定:/etc/postgresql/8.4/main,資料:/var/lib/postgresql/8.4/main,擁有者:115 : 128)
錯誤:move_conffile:所需的設定檔 /var/lib/postgresql/8.4/main/postgresql.conf 不存在
錯誤:無法建立預設叢集。請使用手動建立

pg_createcluster 8.4 主--啟動

運行該命令時,我收到錯誤:

設定已經存在的叢集(設定:/etc/postgresql/8.4/main,資料:/var/lib/postgresql/8.4/main,擁有者:115:128)
錯誤:move_conffile:所需的設定檔/var/lib /postgresql/8.4 /main/postgresql.conf 不存在

的輸出dpkg -l | dpkg -l | grep PostgreSQL

ii  postgresql-8.4             8.4.2-0ubuntu9.10    object-relational SQL database, version 8.4 

ii  postgresql-client-8.4      8.4.2-0ubuntu9.10    front-end programs for PostgreSQL 8.4

ii  postgresql-client-common   101                  manager for multiple PostgreSQL client versi

ii  postgresql-common          101                  PostgreSQL database-cluster manager

答案1

已解決,點擊此鏈接https://bugs.launchpad.net/ubuntu/+source/postgresql-8.3/+bug/235379回答#15 然後就開始了

相關內容