yum 업데이트가 postgresql과 충돌을 반환합니다.

yum 업데이트가 postgresql과 충돌을 반환합니다.

cat /etc/centos-release CentOS Linux release 8.3.2011

yum update반환된 오류는 다음과 같습니다. 이는 postgresql 12 설치와 충돌합니다.

이 가이드를 따르십시오:Centos8에 psql 12 설치포스트그레스 12가 설치되어 있습니다.

루트 사용자로서:

dnf module list postgresql
dnf module enable postgresql:12
dnf install postgresql-server
postgresql-setup --initdb
systemctl start postgresql
systemctl enable postgresql

그건 얼마 전 일이었는데 지금은 다음 yum update과 같은 결과 dnf update를 얻습니다.

Error: 
 Problem 1: cannot install the best update candidate for package libpq-devel-12.4-1.el8_2.x86_64
  - package postgresql13-devel-13.1-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.1-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.5-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.5-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.10-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.10-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql10-devel-10.15-1PGDG.rhel8.x86_64 requires postgresql10(x86-64) = 10.15-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-13.1-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.5-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.10-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql10-10.15-1PGDG.rhel8.x86_64 is filtered out by modular filtering
 Problem 2: problem with installed package libpq-devel-12.4-1.el8_2.x86_64
  - package libpq-devel-12.4-1.el8_2.x86_64 requires libpq(x86-64) = 12.4-1.el8_2, but none of the providers can be installed
  - package libpq5-13.0-10PGDG.rhel8.x86_64 obsoletes libpq provided by libpq-12.4-1.el8_2.x86_64
  - package postgresql13-devel-13.0-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.0-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-devel-13.0-2PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.0-2PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-devel-13.1-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.1-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.3-4PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.3-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.3-5PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.3-5PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.4-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.4-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.4-4PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.4-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.5-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.5-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.10-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.10-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.8-2PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.8-2PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.9-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.9-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.9-4PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.9-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql10-devel-10.15-1PGDG.rhel8.x86_64 requires postgresql10(x86-64) = 10.15-1PGDG.rhel8, but none of the providers can be installed
  - cannot install the best update candidate for package libpq-12.4-1.el8_2.x86_64
  - package postgresql13-13.0-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql13-13.0-2PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql13-13.1-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.3-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.3-5PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.4-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.4-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.5-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.10-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.8-2PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.9-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.9-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql10-10.15-1PGDG.rhel8.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

시도했지만 dnf clean all dnf --best update 작동하지 않았습니다. 어떤 아이디어가 있습니까?

일부 출력:

dnf module list postgresql산출:

Last metadata expiration check: 0:00:36 ago on Tue 08 Dec 2020 18:22:50 IST.
CentOS Linux 8 - AppStream
Name                            Stream                      Profiles                               Summary                                                
postgresql                      9.6                         client, server [d]                     PostgreSQL server and client module                    
postgresql                      10 [d]                      client, server [d]                     PostgreSQL server and client module                    
postgresql                      12 [e]                      client, server [d]                     PostgreSQL server and client module                    

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

yum list --installed | grep postg

Modular dependency problems:

 Problem 1: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8010020191113222731:16b3ab4d-0.x86_64
 Problem 2: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-IO-Socket-SSL:2.066:8030020200715230104:1e4bbb35-0.x86_64
 Problem 3: conflicting requests
  - nothing provides module(perl:5.26) needed by module perl-libwww-perl:6.34:8030020200716155257:b967a9a2-0.x86_64
postgresql.x86_64                             12.1-2.module_el8.1.0+273+979c16e6                @AppStream  
postgresql-contrib.x86_64                     12.1-2.module_el8.1.0+273+979c16e6                @AppStream  
postgresql-server.x86_64                      12.1-2.module_el8.1.0+273+979c16e6                @AppStream

dnf update --nobest

Last metadata expiration check: 0:06:45 ago on Tue 08 Dec 2020 18:22:50 IST.
Dependencies resolved.

 Problem 1: cannot install the best update candidate for package libpq-devel-12.4-1.el8_2.x86_64
  - package postgresql13-devel-13.1-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.1-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.5-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.5-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.10-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.10-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql10-devel-10.15-1PGDG.rhel8.x86_64 requires postgresql10(x86-64) = 10.15-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-13.1-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.5-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.10-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql10-10.15-1PGDG.rhel8.x86_64 is filtered out by modular filtering
 Problem 2: problem with installed package libpq-devel-12.4-1.el8_2.x86_64
  - package libpq-devel-12.4-1.el8_2.x86_64 requires libpq(x86-64) = 12.4-1.el8_2, but none of the providers can be installed
  - package libpq5-13.0-10PGDG.rhel8.x86_64 obsoletes libpq provided by libpq-12.4-1.el8_2.x86_64
  - package postgresql13-devel-13.0-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.0-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-devel-13.0-2PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.0-2PGDG.rhel8, but none of the providers can be installed
  - package postgresql13-devel-13.1-1PGDG.rhel8.x86_64 requires postgresql13(x86-64) = 13.1-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.3-4PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.3-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.3-5PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.3-5PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.4-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.4-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.4-4PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.4-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql12-devel-12.5-1PGDG.rhel8.x86_64 requires postgresql12(x86-64) = 12.5-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.10-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.10-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.8-2PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.8-2PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.9-1PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.9-1PGDG.rhel8, but none of the providers can be installed
  - package postgresql11-devel-11.9-4PGDG.rhel8.x86_64 requires postgresql11(x86-64) = 11.9-4PGDG.rhel8, but none of the providers can be installed
  - package postgresql10-devel-10.15-1PGDG.rhel8.x86_64 requires postgresql10(x86-64) = 10.15-1PGDG.rhel8, but none of the providers can be installed
  - cannot install the best update candidate for package libpq-12.4-1.el8_2.x86_64
  - package postgresql13-13.0-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql13-13.0-2PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql13-13.1-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.3-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.3-5PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.4-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.4-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql12-12.5-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.10-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.8-2PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.9-1PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql11-11.9-4PGDG.rhel8.x86_64 is filtered out by modular filtering
  - package postgresql10-10.15-1PGDG.rhel8.x86_64 is filtered out by modular filtering
==========================================================================================================================================================
 Package                                    Architecture                   Version                                   Repository                      Size
==========================================================================================================================================================
Skipping packages with broken dependencies:
 postgresql10-devel                         x86_64                         10.15-1PGDG.rhel8                         pgdg10                         2.1 M
 postgresql11-devel                         x86_64                         11.10-1PGDG.rhel8                         pgdg11                         2.1 M
 postgresql11-devel                         x86_64                         11.8-2PGDG.rhel8                          pgdg11                         2.1 M
 postgresql11-devel                         x86_64                         11.9-1PGDG.rhel8                          pgdg11                         2.1 M
 postgresql11-devel                         x86_64                         11.9-4PGDG.rhel8                          pgdg11                         2.1 M
 postgresql12-devel                         x86_64                         12.3-4PGDG.rhel8                          pgdg12                         2.2 M
 postgresql12-devel                         x86_64                         12.3-5PGDG.rhel8                          pgdg12                         2.2 M
 postgresql12-devel                         x86_64                         12.4-1PGDG.rhel8                          pgdg12                         2.2 M
 postgresql12-devel                         x86_64                         12.4-4PGDG.rhel8                          pgdg12                         2.2 M
 postgresql12-devel                         x86_64                         12.5-1PGDG.rhel8                          pgdg12                         2.2 M
 postgresql13-devel                         x86_64                         13.0-1PGDG.rhel8                          pgdg13                         2.3 M
 postgresql13-devel                         x86_64                         13.0-2PGDG.rhel8                          pgdg13                         2.3 M
 postgresql13-devel                         x86_64                         13.1-1PGDG.rhel8                          pgdg13                         2.3 M

Transaction Summary
==========================================================================================================================================================
Skip  13 Packages

Nothing to do.
Complete

dnf repolist

repo id                                                 repo name
appstream                                               CentOS Linux 8 - AppStream
baseos                                                  CentOS Linux 8 - BaseOS
epel                                                    Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                            Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                  CentOS Linux 8 - Extras
pgdg-common                                             PostgreSQL common RPMs for RHEL/CentOS 8 - x86_64
pgdg10                                                  PostgreSQL 10 for RHEL/CentOS 8 - x86_64
pgdg11                                                  PostgreSQL 11 for RHEL/CentOS 8 - x86_64
pgdg12                                                  PostgreSQL 12 for RHEL/CentOS 8 - x86_64
pgdg13                                                  PostgreSQL 13 for RHEL/CentOS 8 - x86_64
pgdg95                                                  PostgreSQL 9.5 for RHEL/CentOS 8 - x86_64
pgdg96                                                  PostgreSQL 9.6 for RHEL/CentOS 8 - x86_64

dnf module list perl

Last metadata expiration check: 0:49:49 ago on Tue 08 Dec 2020 18:49:06 IST.
CentOS Linux 8 - AppStream
Name                     Stream                       Profiles                                Summary                                                     
perl                     5.24                         common [d], minimal                     Practical Extraction and Report Language                    
perl                     5.26 [d]                     common [d], minimal                     Practical Extraction and Report Language                    
perl                     5.30                         common [d], minimal                     Practical Extraction and Report Language                    

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled

perl --version

This is perl 5, version 26, subversion 3 (v5.26.3)...

dnf --disablerepo=pgdg\* update

Last metadata expiration check: 1:36:55 ago on Tue 08 Dec 2020 18:49:02 IST.
Dependencies resolved.
Nothing to do.
Complete!

따라서 pgdg를 비활성화한 상태에서 업데이트가 가능합니다. 하지만 어떻게 진행해야 할지 잘 모르겠습니다.

관련 정보