【问题标题】:Trouble installing PgBouncer (postgresql12-libs)安装 PgBouncer 时遇到问题(postgresql12-libs)
【发布时间】:2019-10-01 07:25:32
【问题描述】:

我正在尝试在 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

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

谢谢!

【问题讨论】:

    标签: postgresql centos7 yum pgbouncer


    【解决方案1】:

    是的,您可以向存储库维护者提交错误报告。

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

    yum install python2-psycopg2-2.8.2 pgbouncer
    

    【讨论】:

    • 谢谢,您为我指明了正确的方向。我不得不禁用 pgdg12 repo,然后它就起作用了!
    猜你喜欢
    • 2014-09-11
    • 2013-12-24
    • 2020-02-27
    • 2018-02-25
    • 2011-06-06
    • 2021-04-14
    • 2016-03-23
    • 2018-09-25
    • 2018-04-18
    相关资源
    最近更新 更多