Hi,
I'm trying to mirror the PostgreSQL12 RHEL8 repo:
https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64/
[root@cobbler yum.repos.d]# cat pgdg-12-centos8.repo
# PGDG Red Hat Enterprise Linux / CentOS stable repositories:
[pgdg12-rhel8] name=PostgreSQL 12 for RHEL/CentOS $releasever - $basearch baseurl=https://download.postgresql.org/pub/repos/yum/12/redhat/rhel-8-x86_64 enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
# Source RPMs (SRPM), and their testing repositories:
Then I run:
reposync --repoid=pgdg12-rhel8 --download_path=/repo/8
createrepo /repo/8/pgdg12-rhel8
However, when I try to install it on the target-server, it just doesn't find the postgresql12 binaries.
[root@my-db11-test yum.repos.d]# dnf search postgresql12 Last metadata expiration check: 0:24:06 ago on Mon 24 Feb 2020 11:18:20 AM CET. ==================================================================================================================== Name & Summary Matched: postgresql12 ===================================================================================================================== postgresql12-debugsource.x86_64 : Debug sources for package postgresql12 postgresql12-debuginfo.x86_64 : Debug information for package postgresql12 postgresql12-libs-debuginfo.x86_64 : Debug information for package postgresql12-libs postgresql12-test-debuginfo.x86_64 : Debug information for package postgresql12-test postgresql12-devel-debuginfo.x86_64 : Debug information for package postgresql12-devel postgresql12-pltcl-debuginfo.x86_64 : Debug information for package postgresql12-pltcl postgresql12-plperl-debuginfo.x86_64 : Debug information for package postgresql12-plperl postgresql12-server-debuginfo.x86_64 : Debug information for package postgresql12-server postgresql12-contrib-debuginfo.x86_64 : Debug information for package postgresql12-contrib postgresql12-llvmjit-debuginfo.x86_64 : Debug information for package postgresql12-llvmjit postgresql12-plpython-debuginfo.x86_64 : Debug information for package postgresql12-plpython postgresql12-plpython3-debuginfo.x86_64 : Debug information for package postgresql12-plpython3 ========================================================================================================================= Name Matched: postgresql12 ========================================================================================================================== postgresql12-libs.x86_64 : The shared libraries required for any PostgreSQL clients postgresql12-odbc.x86_64 : PostgreSQL ODBC driver postgresql12-devel.x86_64 : PostgreSQL development header files and libraries postgresql12-llvmjit.x86_64 : Just-in-time compilation support for PostgreSQL postgresql12-plpython.x86_64 : The Python procedural language for PostgreSQL
Is there something obvious (or not so obvious) that I forgot?