public inbox for [email protected]  
help / color / mirror / Atom feed
From: Christoph Berg <[email protected]>
To: PGDG RPM Packages <[email protected]>
Subject: yum.postgresql.org user experience
Date: Wed, 11 Nov 2020 13:12:33 +0100
Message-ID: <[email protected]> (raw)

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.rp...

* 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





view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: yum.postgresql.org user experience
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox