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 1kcza6-0003kb-8s for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 11 Nov 2020 23:31:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kcza3-0007Jk-Fm for pgsql-pkg-yum@arkaria.postgresql.org; Wed, 11 Nov 2020 23:31:11 +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 1kcza3-0007Jd-Af for pgsql-pkg-yum@lists.postgresql.org; Wed, 11 Nov 2020 23:31:11 +0000 Received: from ns5.gunduz.org ([107.170.136.15] helo=ns1.gunduz.org) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kczZy-00085j-L2 for pgsql-pkg-yum@postgresql.org; Wed, 11 Nov 2020 23:31:10 +0000 Received: from asus-laptop04.gunduz.org (unknown [31.14.249.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ns1.gunduz.org (Postfix) with ESMTPSA id 38B273FCAA; Wed, 11 Nov 2020 23:31:05 +0000 (UTC) Message-ID: <29da15eb126242adadd6e97ff6b2c42f1edb95ec.camel@gunduz.org> Subject: Re: yum.postgresql.org user experience From: Devrim =?ISO-8859-1?Q?G=FCnd=FCz?= To: Christoph Berg , PGDG RPM Packages Date: Wed, 11 Nov 2020 23:31:04 +0000 In-Reply-To: <20201111121233.GB390706@msg.df7cb.de> References: <20201111121233.GB390706@msg.df7cb.de> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Y/rvCbM5QGJG72eUPn2D" User-Agent: Evolution 3.38.1 (3.38.1-1.fc33) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --=-Y/rvCbM5QGJG72eUPn2D Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Christoph, On Wed, 2020-11-11 at 13:12 +0100, Christoph Berg wrote: > I just wanted to activate the yum repo on some centos box, but > failed. :( Sorry to read this. > Here's what happened: >=20 > * go to yum.postgresql.org >=20 > * look for the "repo packages" link that used to be there all the > =C2=A0 years It's still there, with the same name (repo RPMs), but: > * 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 Looks like you clicked the next link on the right :( > * find the "Repo RPMs" item in the top menu bar > * copy the CentOS 8 - x86_64 link > * yum install =20 > https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-r= edhat-repo-latest.noarch.rpm >=20 > * try to install postgresql13-server > * try to install postgresql13 > * run yum search postgresql and realize that there are tons of > =C2=A0 extension packages available, but not any server packages >=20 > * try to edit /etc/yum.repos.d/pgdg-redhat-all.repo, but all repos > are > =C2=A0 already enabled including the "common" on >=20 > * give up and install "postgresql-server" from Centos (which is > =C2=A0 version 10) This is pretty bad :( In the last few months, we improved the downloads page at pg.org a lot, but then I did not show enough love here. > 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: >=20 > * 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 > =C2=A0 point, I just want to enable a repository) > * scroll down > * click on "Centos 8" > * copy commands from textbox. >=20 > To fix that, I would suggest some improvements: >=20 > * On the yum.pg.o front page, move the paragraph with instructions to > =C2=A0 the top (don't hide it below the "common" announcement) That was intentional back then, it was a potential breakage for the people who do not update to the new repo RPMs. I agree that it's not that important now. > * Get rid of the /howto page and put the single paragraph it contains > =C2=A0 right on the front page > * When linking to the Download pages, label it as "installation > =C2=A0 instructions" > * Put a prominent note somewhere that the SCL postgresql module needs > =C2=A0 to be disabled (this is the part I was missing, and I guess most > =C2=A0 users who have used yum.pg.o before will be very surprised by that > =C2=A0 step.) >=20 > * On the front page, label the links to the packages listings as such > =C2=A0 (the current heading "AVAILABLE POSTGRESQL RELEASES" is misleading= ) >=20 > * On the /repopackages page, include the "module disable" note, like > =C2=A0 the "common" note that is already there >=20 > * Include the Instructions link in the QUICK LINKS bar on the left Looks great to me. Let me push tomorrow's releases first, then will do these changes. Thanks for the feedback.=20 Cheers, --=20 Devrim G=C3=BCnd=C3=BCz Open Source Solution Architect, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR --=-Y/rvCbM5QGJG72eUPn2D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEH8GKHNUOKtDEiyD22MM9/pLPbrUFAl+sdDgACgkQ2MM9/pLP brX8GRAAoNDbsgjykDveEkBwiv5JjVq8YV6bO4oqEf6GYuey+6YSn105ndzXT6IL 1oKUrVMc1Bb6MNQtghTC9RvVlkpMyEAqKHRiDkCCakd36YhRNw3MN93r3tXCn67n qDFYM0MnNzBoBZu7QzlOPsHW8PK0eHRhTKTSyFcy3aQwYhrF95/puVs0g2mj1SgF ldSVT9Y56CwhoxPlxRSAuui4boYdOIChGkJNpfJE54oOV5m8uULZ6M9wNUKNUFME Waj9+sU93gcDPBJGIY9JJg6wiirQa/n40Q9zK2BcJjfUlLUS6azWTFOVckw7AsB9 urpTdP9+g0+zuXFEpVREDZbIcjnOPj3vBvvwccRWHPTleyinQ6yrKgkwo9Am9Dpv zEJxEcRDDepv1vYJjb2gk565JTNtZkLqHkEimCFYckyKHCNdKychKbnHwhk5O7xd jipdeAQYA55jjM79cI7nBLHjISt7BDF7RoQzR4VEujGMaTyqV211i1JW8Ibs36Ii 5ADtVi84nqFTaxc4ZrRxVXLnEU2EMSNpfBkoe0SWtcA0dU7LV+VPMnaD3d0pErGE azbkVCeTbYS1DJbQKlgH4Di8kfj4WKQdpXmLpWlY/U+nXyMEbARK9KxRWJcMMBJC HXbKpZiBfXvVoAlavTMhhGUoNbR+3oWZMGKlMjmoil5JuUzsGi4= =fzj5 -----END PGP SIGNATURE----- --=-Y/rvCbM5QGJG72eUPn2D--