我正在尝试通过Ubuntu Software Center在Ubuntu 18.04中安装postgreSQL 9.6,并从终端键入
sudo apt-get install postgresql-9.6
根据官方文档https://www.postgresql.org/download/linux/ubuntu/
Create the file /etc/apt/sources.list.d/pgdg.list and add a line for the repository
deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg主要
Import the repository signing key, and update the package lists
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
有什么帮助吗?
提前致谢。
postgresql:
已安装:(无)候选人:10 + 191.pgdg18.04 + 1版本表:10 + 191.pgdg18.04 + 1 500500 http://apt.postgresql.org/pub/repos/apt bionic-pgdg / main amd64软件包500 http://apt.postgresql.org/pub/repos/apt bionic-pgdg / main i386软件包10 + 190 500 500 http://gr.archive.ubuntu.com/ubuntu bionic / main amd64软件包500 http ://gr.archive.ubuntu.com/ubuntu bionic / main i386软件包
如果我检查postgresql文件夹在哪里,似乎我有9.6和10两个版本
sudo apt remove postgresql-10
。
wget
命令导入密钥。到底出了什么问题?