我正在按照本指南在ubuntu 17.10上安装postgres 9.3,但是在我实际尝试安装的代码行之后(sudo apt-get install postgresql-9.3 pgadmin3),我得到以下输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package postgresql-9.3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'postgresql-9.3' has no installation candidate
此外,我需要安装postgis,并且在键入时
sudo apt-get install postgresql-9.3-postgis-2.1
我遇到了同样的错误。谁能帮我吗?
答案 0 :(得分:1)
看看https://www.w3schools.com/php/func_array_in_array.asp,我能够使用他们在ubuntu LTS 18上的快速入门步骤安装postgresql-9.3;如果您愿意,对于17同样适用。以后我倾向于取消奇数安装,但是我也不必担心您提到的扩展名。