Re: Repos "archive" pour PostgreSQL 9.6 sur Rocky 8 🐘 ?

From: Sébastien Lardière <sebastien(at)lardiere(dot)net>
To: Michel PAYAN <michel(dot)payan(at)dbsqware(dot)com>, pgsql-fr-generale <pgsql-fr-generale(at)postgresql(dot)org>, pgsql-fr-generale-owner(at)lists(dot)postgresql(dot)org
Subject: Re: Repos "archive" pour PostgreSQL 9.6 sur Rocky 8 🐘 ?
Date: 2023-11-01 16:31:14
Message-ID: 30caab5c-1013-4649-b44b-4ae7d447d8c6@lardiere.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

On 01/11/2023 13:18, Michel PAYAN wrote:
> Bonjour à tous,
>
> J'utilise toujours des versions les plus courantes de PG mais parfois,
> on nous demande de "faire moins bien".
> Il me faut faire une install PostgreSQL 9.6 sur Rocky 8 pour pouvoir
> faire plus tard une migration.
> J'ai suivi ce MODOP :
> https://yum.postgresql.org/repopackages/#pgredhatoldrepos
>
> _Donc :_
> cat << EOF > /etc/yum.repos.d/pgdg-96.repo
> [pgdg96]
> name=PostgreSQL 9.6 RPMs for RHEL/CentOS 8
> baseurl=https://yum-archive.postgresql.org/9.6/redhat/rhel-8-x86_64
> enabled=1
> gpgcheck=0
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-96
> EOF
>
> _Mais quand je cherche les packages :_
>  # yum search postgresql96
> Last metadata expiration check: 0:02:15 ago on Wed 01 Nov 2023
> 01:00:38 PM CET.
> ==============================================================================================
> Name Matched: postgresql96
> ==============================================================================================
> postgresql96-devel.x86_64 : PostgreSQL development header files and
> libraries
> postgresql96-libs.x86_64 : The shared libraries required for any
> PostgreSQL clients
> postgresql96-odbc.x86_64 : PostgreSQL ODBC driver
> postgresql96-plpython.x86_64 : The Python procedural language for
> PostgreSQL
> postgresql96-tcl.x86_64 : A Tcl client library for PostgreSQL
>
> Je n'ai ni le client postgresql96, ni le serveur postgresql96-server ?
> (pas plus que les contribs d'ailleurs)
>
> Le repo archive n'est pas complet où je m'y prend mal ?
>

Bonjour,

Je ne reproduis pas le problème : en appliquant la procédure, adaptée
comme vous à RHEL8, je trouve bien le paquet postgresql96 :

[root(at)pgrocky8 yum.repos.d]# cat pgdg-96.repo
[pgdg96]
name=PostgreSQL 9.6 RPMs for RHEL/CentOS 8
baseurl=https://yum-archive.postgresql.org/9.6/redhat/rhel-8-x86_64
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
[root(at)pgrocky8 yum.repos.d]# dnf search postgresql96
Last metadata expiration check: 0:01:48 ago on mer. 01 nov. 2023 17:24:09 CET.
======================================================================================= Name Exactly Matched: postgresql96 ========================================================================================
postgresql96.x86_64 : PostgreSQL client programs and libraries
=========================================================================================== Name Matched: postgresql96 ============================================================================================
postgresql96-contrib.x86_64 : Contributed source and binaries distributed with PostgreSQL
postgresql96-devel.x86_64 : PostgreSQL development header files and libraries
postgresql96-docs.x86_64 : Extra documentation for PostgreSQL
postgresql96-libs.x86_64 : The shared libraries required for any PostgreSQL clients
postgresql96-odbc.x86_64 : PostgreSQL ODBC driver
postgresql96-plperl.x86_64 : The Perl procedural language for PostgreSQL
postgresql96-plpython.x86_64 : The Python procedural language for PostgreSQL
postgresql96-plpython3.x86_64 : The Python3 procedural language for PostgreSQL
postgresql96-pltcl.x86_64 : The Tcl procedural language for PostgreSQL
postgresql96-server.x86_64 : The programs needed to create and run a PostgreSQL server
postgresql96-tcl.x86_64 : A Tcl client library for PostgreSQL
postgresql96-test.x86_64 : The test suite distributed with PostgreSQL
[root(at)pgrocky8 yum.repos.d]# dnf info postgresql96
Last metadata expiration check: 0:01:52 ago on mer. 01 nov. 2023 17:24:09 CET.
Available Packages
Name         : postgresql96
Version      : 9.6.23
Release      : 1PGDG.rhel8
Architecture : x86_64
Size         : 1.5 M
Source       : postgresql96-9.6.23-1PGDG.rhel8.src.rpm
Repository   : pgdg96
Summary      : PostgreSQL client programs and libraries
URL          :https://www.postgresql.org/
License      : PostgreSQL
Description  : PostgreSQL is an advanced Object-Relational database management system (DBMS).
             : The base postgresql package contains the client programs that you'll need to
             : access a PostgreSQL DBMS server, as well as HTML documentation for the whole
             : system.  These client programs can be located on the same machine as the
             : PostgreSQL server, or on a remote machine that accesses a PostgreSQL server
             : over a network connection.  The PostgreSQL server can be found in the
             : postgresql96-server sub-package.
             :
             : If you want to manipulate a PostgreSQL database on a local or remote PostgreSQL
             : server, you need this package. You also need to install this package
             : if you're installing the postgresql96-server package.

Je ne vois pas ce qui ne va pas dans ce que vous avez fait, mais la
procédure semble correcte.

Ici, j'utilise dnf, mais yum donne les mêmes résultats.

--
Sébastien

In response to

Responses

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Sébastien Lardière 2023-11-01 18:09:21 Re: Repos "archive" pour PostgreSQL 9.6 sur Rocky 8 🐘 ?
Previous Message Michel PAYAN 2023-11-01 12:18:22 Repos "archive" pour PostgreSQL 9.6 sur Rocky 8 🐘 ?