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 1qtYwh-00CvC7-DW for pgsql-admin@arkaria.postgresql.org; Thu, 19 Oct 2023 19:44:39 +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 1qtYwe-006Tkf-G6 for pgsql-admin@arkaria.postgresql.org; Thu, 19 Oct 2023 19:44:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtYwe-006ThK-3H for pgsql-admin@lists.postgresql.org; Thu, 19 Oct 2023 19:44:36 +0000 Received: from treeswift.comp.uvic.ca ([142.104.177.227]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qtYwW-001b5s-Sl for pgsql-admin@lists.postgresql.org; Thu, 19 Oct 2023 19:44:33 +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 39JJiNS9048242 for ; Thu, 19 Oct 2023 12:44:23 -0700 Content-Type: multipart/alternative; boundary="------------IyQ1E8FuA2KZ0JkFe2KNHFWQ" Message-ID: Date: Thu, 19 Oct 2023 12:44:23 -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: <1dac15f4-51b3-4aac-bd5c-bf773b64e189@gmail.com> 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. --------------IyQ1E8FuA2KZ0JkFe2KNHFWQ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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. --------------IyQ1E8FuA2KZ0JkFe2KNHFWQ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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.

--------------IyQ1E8FuA2KZ0JkFe2KNHFWQ--