Я не могу установить PostgreSQL 12 на Red Hat 8.1 после следования официальным инструкциям с использованием dnf - PullRequest
0 голосов
/ 25 февраля 2020

Официальные инструкции Я пытался установить PostgreSQL 12, но я получаю следующую ошибку: No match for argument: postgresql12 Error: Unable to find a match: postgresql12

Когда я запускаю команду sudo dnf repolist, это то, что я получаю :

$ sudo dnf repolist
Updating Subscription Management repositories.
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Last metadata expiration check: 0:04:00 ago on Mon 24 Feb 2020 05:44:02 PM EST.
Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64
repo id                                                              repo name                                                                                                     status
*epel                                                                Extra Packages for Enterprise Linux 8 - x86_64                                                                4,885
*epel-modular                                                        Extra Packages for Enterprise Linux Modular 8 - x86_64                                                            0
pgdg10                                                               PostgreSQL 10 for RHEL/CentOS 8 - x86_64                                                                        793
pgdg11                                                               PostgreSQL 11 for RHEL/CentOS 8 - x86_64                                                                        838
pgdg12                                                               PostgreSQL 12 for RHEL/CentOS 8 - x86_64                                                                        635
pgdg94                                                               PostgreSQL 9.4 for RHEL/CentOS 8 - x86_64                                                                       346
pgdg95                                                               PostgreSQL 9.5 for RHEL/CentOS 8 - x86_64                                                                       516
pgdg96                                                               PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64                                                                       761

Когда я запускаю команду sudo yum list postgresql12*, вот что я получаю:

sudo yum list postgresql12*
Updating Subscription Management repositories.
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Last metadata expiration check: 0:06:49 ago on Mon 24 Feb 2020 05:44:02 PM EST.
Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64
Available Packages
postgresql12-contrib-debuginfo.x86_64                                                             12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-debuginfo.x86_64                                                                     12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-debugsource.x86_64                                                                   12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-devel.x86_64                                                                         12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-devel-debuginfo.x86_64                                                               12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-libs.x86_64                                                                          12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-libs-debuginfo.x86_64                                                                12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-llvmjit.x86_64                                                                       12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-llvmjit-debuginfo.x86_64                                                             12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-odbc.x86_64                                                                          12.01.0000-1PGDG.rhel8                                                           pgdg12
postgresql12-plperl-debuginfo.x86_64                                                              12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-plpython.x86_64                                                                      12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-plpython-debuginfo.x86_64                                                            12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-plpython3-debuginfo.x86_64                                                           12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-pltcl-debuginfo.x86_64                                                               12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-server-debuginfo.x86_64                                                              12.2-2PGDG.rhel8                                                                 pgdg12
postgresql12-test-debuginfo.x86_64                                                                12.2-2PGDG.rhel8                                                                 pgdg12

Ничего не происходит, когда я пытаюсь отключить модуль postgresql:

sudo dnf -qy module disable postgresql
Error: Problems in request:
Modular dependency problems:

 Problem 1: conflicting requests
 - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:8010020190322125518:073fa5fe-0.x86_64
 Problem 2: conflicting requests
 - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020190322130042:16b3ab4d-0.x86_64
...