我有这个:
# add-apt-repository main
# add-apt-repository universe
# add-apt-repository restricted
# add-apt-repository multiverse
# apt-get update
# apt-get -y upgrade
# apt-get install -y postgresql-client-11我得到了:
E:无法找到包postgresql 11
如何找到这个包的11.x版本?
更新:我运行了以下内容:apt-cache search postgresql | grep client -- postgresql-client-10...so中唯一相关的东西--也许在我的ubuntu版本中不支持版本11?我怎么知道呢?
发布于 2019-08-08 23:54:58
因此,一个解决方案似乎是忘记客户端库,只需安装:
export DEBIAN_FRONTEND=noninteractive
# apt-get install -yq postgresql但是我得到了这个交互式提示,它不会接受我的回答:
但我还是明白:
stderr: pg_dump: server version: 11.2; pg_dump version: 10.10 (Ubuntu 10.10-0ubuntu0.18.04.1)
stderr: pg_dump: aborting because of server version mismatchfml :(
https://askubuntu.com/questions/1164441
复制相似问题