postgresql - 无法安装 PgBouncer (postgresql12-libs)

标签 postgresql centos7 yum pgbouncer

我正在尝试在 Centos 7 上安装 pgbouncer 但它似乎是一个依赖性问题。

pgbouncer 需要 python2-psycopg2-2.8.3-1.rhel7.1.x86_64 (pgdg12) 而这个需要 postgresql12-libs 找不到。

我有这个 postgresql 存储库:

pgdg10/7/x86_64                                                                PostgreSQL 10 for RHEL/CentOS 7 - x86_64                                                                                1.062
pgdg11/7/x86_64                                                                PostgreSQL 11 for RHEL/CentOS 7 - x86_64                                                                                  887
pgdg12/7/x86_64                                                                PostgreSQL 12 for RHEL/CentOS 7 - x86_64                                                                                  171
pgdg94/7/x86_64                                                                PostgreSQL 9.4 for RHEL/CentOS 7 - x86_64                                                                                 979
pgdg95/7/x86_64                                                                PostgreSQL 9.5 for RHEL/CentOS 7 - x86_64                                                                               1.056
pgdg96/7/x86_64                                                                PostgreSQL 9.6 for RHEL/CentOS 7 - x86_64                                                                               1.089

这是一个存储库问题,或者我可以做些什么吗?

谢谢!

最佳答案

是的,您可以为存储库维护者制作错误报告。

要修复你可以安装以前版本的 python2-psycopg2

yum install python2-psycopg2-2.8.2 pgbouncer

关于postgresql - 无法安装 PgBouncer (postgresql12-libs),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58179910/

相关文章:

sql - 在 PostGIS 中查找包含一个点的所有多边形

centos - 如何使用 Ansible 重启 CentOS 7?

fedora - 在 Fedora 21 中使用 YUM 和 DNF 时出错

centos - 无法使用 yum 或 rpm 在 Fedora 上安装 jdk

linux - Linux 库的软件包是什么?

PostgreSQL 查询包含来自单独表的 id 的数组

mongodb - postgresql 或 Mongodb 用于存储位置数据(纬度和经度)并基于以下内容进行搜索?

postgresql - postgis中的坐标类型

python - 通过 Python 的 dbus 模块控制 CentOS 中的 firewalld?

linux - 解决了bash:hdfs:找不到命令