postgresql - 无法在 Ubuntu 17.10 上使用 postgis 安装 postgres 9.3
问题描述
我正在按照本指南在 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
我得到了同样的错误。谁能帮我?
解决方案
查看postgres wiki,我能够使用他们在 ubuntu LTS 18 上的快速入门步骤安装 postgresql-9.3;如果你愿意,17 也应该如此。fwiw 我倾向于放弃奇数安装,但我也不必担心你提到的那个扩展。
推荐阅读
- python - 向用户发送 Odoo 14 电子邮件订阅通知
- javascript - 未定义变量 vs 未定义属性令人困惑的性能
- python - 需要帮助从 Python 中的文本中提取日期
- hover - Vuepress - 引用并显示来自另一个页面的文本
- vue.js - Vue / Nuxt - 添加真正特定的标签
- node.js - 错误未知或重复参数:NodeCommand
- concurrency - 在原子调用中支持多次获取的计数信号量 - 这将如何根据其他原语实现?
- flutter - 在 moor 数据库中输入长日期时间或日期的类型转换 - 颤振
- python - 从小提琴图中删除异常值
- c# - 如何将不断增长的递归数学函数转换为代码?