Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtaKK-00D2iV-DH for pgsql-admin@arkaria.postgresql.org; Thu, 19 Oct 2023 21:13:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qtaKI-007i2S-2P for pgsql-admin@arkaria.postgresql.org; Thu, 19 Oct 2023 21:13:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtaKH-007hw6-J2 for pgsql-admin@lists.postgresql.org; Thu, 19 Oct 2023 21:13:06 +0000 Received: from treeswift.comp.uvic.ca ([142.104.177.227]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtaKC-001Jly-Ac for pgsql-admin@lists.postgresql.org; Thu, 19 Oct 2023 21:13:02 +0000 Received: from [127.0.0.1] (murex.comp.uvic.ca [142.104.191.234]) by treeswift.comp.uvic.ca (8.14.4/8.14.4) with ESMTP id 39JLCuJ5061676 for ; Thu, 19 Oct 2023 14:12:56 -0700 Content-Type: multipart/alternative; boundary="------------ZT6YEhBVaLeqmz0DRceR3tcT" Message-ID: <119cb52d-782c-413f-bd77-e0571abf5161@uvic.ca> Date: Thu, 19 Oct 2023 14:12:56 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Binaries for EOL version? Content-Language: en-US To: pgsql-admin@lists.postgresql.org References: <0aeb11d2-039b-edff-1514-299652e73936@gmx.net> <3368392.1697736614@sss.pgh.pa.us> <40e90793-744f-4d8a-8b86-82495bc154ce@gmail.com> <52456b74-c817-42b3-91f9-6c656d9413c5@uvic.ca> <1dac15f4-51b3-4aac-bd5c-bf773b64e189@gmail.com> From: Evan Rempel In-Reply-To: X-UVic-Virus-Scanned: OK - Passed virus scan by ClamAV (clamd) on treeswift X-UVic-Virus-Scanned: OK - Passed virus scan by Sophos (sophie) on treeswift X-UVic-Scan: treeswift.comp.uvic.ca filter_version 3.7.9 X-UVic-Outbound-Scan: treeswift.comp.uvic.ca Not_scanned_Host X-UVic-Spam-Scan: treeswift.comp.uvic.ca Not_scanned_LOCAL X-Scanned-By: MIMEDefang 2.78 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------ZT6YEhBVaLeqmz0DRceR3tcT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm not arguing if the yum-archive.postgresql.org should or should not permit browsing. I'm trying to give you a solution that you can implement today to acquire the packages that you need. IMHO I applaud the fact that these packages are more difficult to get than the currently supported and tested versions. I can't see a reason why anyone would want to still be running them, but lets give credit where credit is due. The packages are still available even if I can't see a reason to run them. Evan. On 2023-10-19 14:05, Ron wrote: > > A repository is a bunch of web pages.  I can curl every package under > download.postgresql.org/pub, so why can't we curl every package under > yum-archive.postgresql.org? > > On 10/19/23 15:21, Evan Rempel wrote: >> No. The original request was for the RPMs from a yum repository. You >> have to use a yum capable system. >> >> >> On 2023-10-19 13:02, Ron wrote: >>> >>> Even Ubuntu and Windows? >>> >>> On 10/19/23 14:44, Evan Rempel wrote: >>>> You can do that on any host and use the yum download only or if you >>>> want it all use reposync. >>>> Then you can copy the actual RPMS anywhere you want. >>>> >>>> Evan. >>>> >>>> On 2023-10-19 12:06, Ron wrote: >>>>> >>>>> Ah.  But I can't do that, since the server is behind many >>>>> firewalls, and only has access to an internal RHEL mirror. >>>>> >>>>> The "current" binaries are all accessible via web browser (and >>>>> curl), so it puzzles me why yum-archive isn't. >>>>> >>>>> I opened Redmine issue 7892 to make them available. >>>>> >>>>> On 10/19/23 13:38, Evan Rempel wrote: >>>>>> The packages you need are definitely on the postgresql yum >>>>>> server. The repository can not be browsed, but if you add the yum >>>>>> repository definition file as documented at the bottom of the page >>>>>> https://yum.postgresql.org/repopackages/#pgredhatoldrepos >>>>>> >>>>>> you will be able to do a "yum install amcheck_next96" easily. >>>>>> >>>>>> cat << EOF > /etc/yum.repos.d/pgdg-96.repo >>>>>> [pgdg96] >>>>>> name=PostgreSQL 9.6 RPMs for RHEL/CentOS 6 >>>>>> baseurl=https://yum-archive.postgresql.org/9.6/redhat/rhel-6-x86_64 >>>>>> enabled=1 >>>>>> gpgcheck=0 >>>>>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG >>>>>> EOF >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On 2023-10-19 10:54, Ron wrote: >>>>>>> >>>>>>> On 10/19/23 12:30, Tom Lane wrote: >>>>>>> [snip] >>>>>>>> amcheck was not part of the Postgres source tree until v10. >>>>>>>> It might exist in some form for 9.6, but you'd have to look >>>>>>>> outside the standard distribution channels >>>>>>> >>>>>>> amcheck_next96 binary RPM were absolutely distributed by >>>>>>> download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6. >>>>>>> >>>>>>> I downloaded amcheck_next96-1.4.1 when I downloaded 9.6.22, but >>>>>>> did not download amcheck_next96-1.4.5 with 9.6.24. >>>>>>> >>>>>>> If push comes to shove, I can probably install the 1.4.1 RPM >>>>>>> along side 9.6.24. >>>>>>> >>>>>>> -- >>>>>>> Born in Arizona, moved to Babylonia. >>>> >>> >>> -- >>> Born in Arizona, moved to Babylonia. >> > > -- > Born in Arizona, moved to Babylonia. --------------ZT6YEhBVaLeqmz0DRceR3tcT Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
I'm not arguing if the yum-archive.postgresql.org should or should not permit browsing. I'm trying to give you a solution that you can implement today to acquire the packages that you need.

IMHO I applaud the fact that these packages are more difficult to get than the currently supported and tested versions. I can't see a reason why anyone would want to still be running them, but lets give credit where credit is due. The packages are still available even if I can't see a reason to run them.

Evan.

On 2023-10-19 14:05, Ron wrote:

A repository is a bunch of web pages.  I can curl every package under download.postgresql.org/pub, so why can't we curl every package under yum-archive.postgresql.org?

On 10/19/23 15:21, Evan Rempel wrote:
No. The original request was for the RPMs from a yum repository. You have to use a yum capable system.


On 2023-10-19 13:02, Ron wrote:

Even Ubuntu and Windows?

On 10/19/23 14:44, Evan Rempel wrote:
You can do that on any host and use the yum download only or if you want it all use reposync.
Then you can copy the actual RPMS anywhere you want.

Evan.

On 2023-10-19 12:06, Ron wrote:

Ah.  But I can't do that, since the server is behind many firewalls, and only has access to an internal RHEL mirror.

The "current" binaries are all accessible via web browser (and curl), so it puzzles me why yum-archive isn't.

I opened Redmine issue 7892 to make them available.

On 10/19/23 13:38, Evan Rempel wrote:
The packages you need are definitely on the postgresql yum server. The repository can not be browsed, but if you add the yum repository definition file as documented at the bottom of the page

you will be able to do a "yum install amcheck_next96" easily.

cat << EOF > /etc/yum.repos.d/pgdg-96.repo
[pgdg96]
name=PostgreSQL 9.6 RPMs for RHEL/CentOS 6
baseurl=https://yum-archive.postgresql.org/9.6/redhat/rhel-6-x86_64
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
EOF




On 2023-10-19 10:54, Ron wrote:

On 10/19/23 12:30, Tom Lane wrote:
[snip]
amcheck was not part of the Postgres source tree until v10.
It might exist in some form for 9.6, but you'd have to look
outside the standard distribution channels

amcheck_next96 binary RPM were absolutely distributed by download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-6.

I downloaded amcheck_next96-1.4.1 when I downloaded 9.6.22, but did not download amcheck_next96-1.4.5 with 9.6.24.

If push comes to shove, I can probably install the 1.4.1 RPM along side 9.6.24.

--
Born in Arizona, moved to Babylonia.


--
Born in Arizona, moved to Babylonia.


--
Born in Arizona, moved to Babylonia.

--------------ZT6YEhBVaLeqmz0DRceR3tcT--