Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcozW-0003lz-Ho for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 11 Nov 2020 12:12:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcozU-00023a-5Q for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 11 Nov 2020 12:12:44 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcozU-00023T-0g for pgsql-pkg-yum@lists.postgresql.org; Wed, 11 Nov 2020 12:12:44 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcozR-0002Nk-DL for pgsql-pkg-yum@postgresql.org; Wed, 11 Nov 2020 12:12:43 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1471:c340:76e5:bff:fef3:7e00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4CWNsL3k3Kz3F05 for ; Wed, 11 Nov 2020 13:12:38 +0100 (CET) Date: Wed, 11 Nov 2020 13:12:33 +0100 From: Christoph Berg To: PGDG RPM Packages Subject: yum.postgresql.org user experience Message-ID: <20201111121233.GB390706@msg.df7cb.de> Mail-Followup-To: Christoph Berg , PGDG RPM Packages MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, I just wanted to activate the yum repo on some centos box, but failed. Here's what happened: * go to yum.postgresql.org * look for the "repo packages" link that used to be there all the years * find the version number links under "AVAILABLE POSTGRESQL RELEASES" * click on 13 * click on RHEL/CentOS 8 - x86_64 * realize that this is the package listing, go back to the main page * find the "Repo RPMs" item in the top menu bar * copy the CentOS 8 - x86_64 link * yum install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm * try to install postgresql13-server * try to install postgresql13 * run yum search postgresql and realize that there are tons of extension packages available, but not any server packages * try to edit /etc/yum.repos.d/pgdg-redhat-all.repo, but all repos are already enabled including the "common" on * give up and install "postgresql-server" from Centos (which is version 10) So: while I think I did everything correctly, the single most important command in that chain is "dnf -qy module disable postgresql", but it isn't mentioned anywhere. It is only reachable via this click path: * click on "Yum Howto" in the top menu bar * read a length text * click on "Download" (while I don't want to download anything at this point, I just want to enable a repository) * scroll down * click on "Centos 8" * copy commands from textbox. To fix that, I would suggest some improvements: * On the yum.pg.o front page, move the paragraph with instructions to the top (don't hide it below the "common" announcement) * Get rid of the /howto page and put the single paragraph it contains right on the front page * When linking to the Download pages, label it as "installation instructions" * Put a prominent note somewhere that the SCL postgresql module needs to be disabled (this is the part I was missing, and I guess most users who have used yum.pg.o before will be very surprised by that step.) * On the front page, label the links to the packages listings as such (the current heading "AVAILABLE POSTGRESQL RELEASES" is misleading) * On the /repopackages page, include the "module disable" note, like the "common" note that is already there * Include the Instructions link in the QUICK LINKS bar on the left Thanks, Christoph