Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iV50E-0000ot-MA for pgsql-docs@arkaria.postgresql.org; Thu, 14 Nov 2019 02:36:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iV50B-00005Y-VC for pgsql-docs@arkaria.postgresql.org; Thu, 14 Nov 2019 02:36:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iV50B-00005O-9f for pgsql-docs@lists.postgresql.org; Thu, 14 Nov 2019 02:36:55 +0000 Received: from 153.126.206.245.v6.sakura.ne.jp ([2401:2500:102:3039:153:126:206:245] helo=mail.clear-code.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iV501-0005JW-JH for pgsql-docs@lists.postgresql.org; Thu, 14 Nov 2019 02:36:54 +0000 Received: from localhost (KD106181174006.au-net.ne.jp [106.181.174.6]) by mail.clear-code.com (Postfix) with ESMTPSA id 3AF26769164 for ; Thu, 14 Nov 2019 11:36:32 +0900 (JST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.clear-code.com 3AF26769164 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clear-code.com; s=default; t=1573698992; bh=EkRfeIUG5wFMfQkMkt7EccCko5Xjie/pYcdG4IENBs4=; h=Date:To:Subject:From:From; b=HRYIvnJ3jxqtbAxHgBEtW61p1xCr9+nSKtiaPp7U+m7CuKGL0EiRW5/YDgLqL2kwQ L836gWH2luU7ZB/tusvUDIrQ9YQNOjyVKl7dsichrDhV4WXYnr878H59T3cAx+Efwv l0/qiDhaIqrwlMG14/VQm47+uL7yYMCMBMODwA/c= Date: Thu, 14 Nov 2019 11:36:30 +0900 (JST) Message-Id: <20191114.113630.1398779383290103638.horimoto@clear-code.com> To: pgsql-docs@lists.postgresql.org Subject: I suggest improving install steps for CentOS 8 From: Yasuhiro Horimoto X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Thu_Nov_14_11_36_30_2019_936)--" Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 3AF26769164 X-Spamd-Result: default: False [1.40 / 999.00]; ARC_NA(0.00)[]; MID_CONTAINS_FROM(1.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:2516, ipnet:106.181.0.0/16, country:JP]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[] X-Rspamd-Server: mail.clear-code.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----Next_Part(Thu_Nov_14_11_36_30_2019_936)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I have found a problem with the following page. page: https://www.postgresql.org/download/linux/redhat/ I tried install PostgreSQL12 into CentOS 8 as written on this page. However, I couldn't install it by the following error. # dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm # dnf install -y postgresql12 Failed to set locale, defaulting to C PostgreSQL 10 for RHEL/CentOS 8 - x8 100 kB/s | 539 kB 00:05 PostgreSQL 11 for RHEL/CentOS 8 - x8 121 kB/s | 629 kB 00:05 PostgreSQL 12 for RHEL/CentOS 8 - x8 91 kB/s | 471 kB 00:05 PostgreSQL 9.4 for RHEL/CentOS 8 - x 75 kB/s | 361 kB 00:04 PostgreSQL 9.5 for RHEL/CentOS 8 - x 108 kB/s | 425 kB 00:03 PostgreSQL 9.6 for RHEL/CentOS 8 - x 55 kB/s | 518 kB 00:09 No match for argument: postgresql12 Error: Unable to find a match There is a workaround for this problem. I executed a below command. I could install it. # dnf module disable postgresql This problem has already reported to Red Hat Bugzilla. (https://bugzilla.redhat.com/show_bug.cgi?id=1718201#c1) However, this problem has been already closed. Because it seems that is not a bug. Therefore I suggest that add a workaround in this document like an attachment. Thanks, ----Next_Part(Thu_Nov_14_11_36_30_2019_936)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diff.patch" diff --git a/templates/pages/download/linux/redhat.html b/templates/pages/download/linux/redhat.html index 568085a..3b0cbaf 100644 --- a/templates/pages/download/linux/redhat.html +++ b/templates/pages/download/linux/redhat.html @@ -51,6 +51,9 @@ The PostgreSQL Yum Repository currently supports:

*Note: due to the shorter support cycle on Fedora, all supported versions of PostgreSQL are not available on this platform. We do not recommend using Fedora for server deployments. + +

*Note: PostgreSQL can't install in CentOS 8 or RedHat Enterprise 8 just execute the following steps. +We need to execute "dnf module disable postgresql" before install the client package.

To use the PostgreSQL Yum Repository, follow these steps: ----Next_Part(Thu_Nov_14_11_36_30_2019_936)----