Re: Problems with reposync and createrepo on CentOS 7 for RHEL8/CentOS8 repo?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
I tried to reproduce the issue but without success, everything seems
to be working fine (I've copied
repodata directory created by the reposync on Centos7 machine to RHEL8
server to /tmp/pg12repo directory):

RHEL8 # dnf search postgresql12 --repofrompath=a,/tmp/pg12repo --repoid=a
Added a repo from /tmp/pg12repo
a
     204 MB/s | 784 kB     00:00
==================================== Name Exactly Matched:
postgresql12 ====================================
postgresql12.x86_64 : PostgreSQL client programs and libraries
=================================== 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-docs.x86_64 : Extra documentation for PostgreSQL
postgresql12-libs.x86_64 : The shared libraries required for any
PostgreSQL clients
postgresql12-odbc.x86_64 : PostgreSQL ODBC driver
postgresql12-test.x86_64 : The test suite distributed with PostgreSQL
postgresql12-devel.x86_64 : PostgreSQL development header files and libraries
postgresql12-pltcl.x86_64 : The Tcl procedural language for PostgreSQL
postgresql12-plperl.x86_64 : The Perl procedural language for PostgreSQL
postgresql12-server.x86_64 : The programs needed to create and run a
PostgreSQL server
postgresql12-contrib.x86_64 : Contributed source and binaries
distributed with PostgreSQL
postgresql12-llvmjit.x86_64 : Just-in-time compilation support for PostgreSQL
postgresql12-plpython.x86_64 : The Python procedural language for PostgreSQL
postgresql12-plpython3.x86_64 : The Python3 procedural language for PostgreSQL

Are you sure that the packages from the 'reposync
--repoid=pgdg12-rhel8 --download_path=/repo/8'
were correctly downloaded? For deeper investigation the generated
repository metadata
(/repo/8/pgdg12-rhel8/repodata directory) would be needed.
As far as your question is concerned - no, I do not see anything you forgot.

M.

--
Marek Blaha <mblaha@xxxxxxxxxx>

Red Hat Czech s.r.o.
Software Engineer

--
Marek Blaha <mblaha@xxxxxxxxxx>

Red Hat Czech s.r.o.
Software Engineer


On Mon, Feb 24, 2020 at 11:45 AM <rainer@xxxxxxxxxxxxxxx> wrote:
>
> 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?
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
>

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux