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 1iVBS8-000227-OL for pgsql-docs@arkaria.postgresql.org; Thu, 14 Nov 2019 09:30:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iVBR9-0001cU-BY for pgsql-docs@arkaria.postgresql.org; Thu, 14 Nov 2019 09:29:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iVBR9-0001cN-0n for pgsql-docs@lists.postgresql.org; Thu, 14 Nov 2019 09:29:11 +0000 Received: from smtp2.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iVBR4-0000LY-VY for pgsql-docs@lists.postgresql.org; Thu, 14 Nov 2019 09:29:09 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id CF5CC2E518D7 for ; Thu, 14 Nov 2019 10:29:02 +0100 (CET) Received: from s500.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id B0FBE2E27805; Thu, 14 Nov 2019 10:29:02 +0100 (CET) Received: from s472.loopia.se (unknown [172.22.191.6]) by s500.loopia.se (Postfix) with ESMTP id A91461E146B4; Thu, 14 Nov 2019 10:29:02 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s498.loopia.se ([172.22.191.6]) by s472.loopia.se (s472.loopia.se [172.22.190.12]) (amavisd-new, port 10024) with LMTP id hNhm2qBIqbiQ; Thu, 14 Nov 2019 10:29:02 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from [192.168.72.43] (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s498.loopia.se (Postfix) with ESMTPSA id 1B5BF4707DB; Thu, 14 Nov 2019 10:29:02 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: I suggest improving install steps for CentOS 8 From: Daniel Gustafsson In-Reply-To: <20191114.113630.1398779383290103638.horimoto@clear-code.com> Date: Thu, 14 Nov 2019 10:29:01 +0100 Cc: pgsql-docs@lists.postgresql.org, pgsql-www@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20191114.113630.1398779383290103638.horimoto@clear-code.com> To: Yasuhiro Horimoto X-Mailer: Apple Mail (2.3445.104.11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Adding -www as this isn't a documentation issue but a website issue. > On 14 Nov 2019, at 03:36, Yasuhiro Horimoto = wrote: >=20 > Hello, >=20 > I have found a problem with the following page. >=20 > page: https://www.postgresql.org/download/linux/redhat/ >=20 > I tried install PostgreSQL12 into CentOS 8 as written on this page. > However, I couldn't install it by the following error. >=20 >=20 > # dnf install -y = https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-re= dhat-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 >=20 >=20 > There is a workaround for this problem. > I executed a below command. > I could install it. >=20 > # dnf module disable postgresql >=20 > This problem has already reported to Red Hat Bugzilla. > (https://bugzilla.redhat.com/show_bug.cgi?id=3D1718201#c1) >=20 > However, this problem has been already closed. > Because it seems that is not a bug. Agreed, it's not a bug. > Therefore I suggest that add a workaround in this document like an > attachment. >=20 > Thanks, > 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. This doesn't explain what the problem is, and why the above command = works (or what side effects it may have). I don't think it's a bad idea to = mention this problem on the page but we should phrase it in such a way that it's = clear what the underlying problem is, and what the fix means. Linking to offical = RPM docs can be a good way too? cheers ./daniel=