[BUGS] PGDG Repository for RHEL6 is bronen, populated with RHEL7 packages - Mailing list pgsql-bugs

From Gustavo Campos
Subject [BUGS] PGDG Repository for RHEL6 is bronen, populated with RHEL7 packages
Date
Msg-id CAFOrcoF=Mj2L7jrgdddKNeVvR7ZhvJx9_10HJJzx7YcFMrSGgQ@mail.gmail.com
Whole thread Raw
Responses Re: [BUGS] PGDG Repository for RHEL6 is bronen, populated withRHEL7 packages  (Devrim Gündüz <devrim@gunduz.org>)
List pgsql-bugs
Hi,

I recently tried to setup both PostgreSQL 9.5 and 9.6 using the PGDG repositories and they are both broken. Trying to install postgresql-server from these repositories results in YUM conflicts regarding those packages depending on 'systemd-units' which is not available in RHEL6.

Initially I thought it could be a YUM cache problem, as I found similar issues caused by that in the archives, but ended up finding out that the packages actually depend on systemd-units.

First, all packages populated in the redhat/rhel-6-x86_64 repositories have *rhel7* in their names, which itself does not mean they won't work, but in a closer look we can see systemd-units on the actual package dependencies:

# yum install postgresql96-server
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package postgresql96-server.x86_64 0:9.6.3-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql96-libs(x86-64) = 9.6.3-1PGDG.rhel7 for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: postgresql96(x86-64) = 9.6.3-1PGDG.rhel7 for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql96.x86_64 0:9.6.3-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-sysv for package: postgresql96-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd for package: postgresql96-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd for package: postgresql96-9.6.3-1PGDG.rhel7.x86_64
---> Package postgresql96-libs.x86_64 0:9.6.3-1PGDG.rhel7 will be installed
---> Package postgresql96-server.x86_64 0:9.6.3-1PGDG.rhel7 will be installed
--> Processing Dependency: systemd-units for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: systemd-units for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql96-9.6.3-1PGDG.rhel7.x86_64 (pgdg96)
           Requires: systemd
Error: Package: postgresql96-9.6.3-1PGDG.rhel7.x86_64 (pgdg96)
           Requires: systemd-sysv
Error: Package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64 (pgdg96)
           Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
Error: Package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64 (pgdg96)
           Requires: systemd-units
Error: Package: postgresql96-server-9.6.3-1PGDG.rhel7.x86_64 (pgdg96)
           Requires: libsystemd.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

/bin/sh
/bin/sh
/bin/sh
/bin/sh
/bin/sh
/usr/sbin/groupadd
/usr/sbin/useradd
config(postgresql95-server) = 9.5.7-1PGDG.rhel7
glibc
glibc
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.16)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.6)(64bit)
libc.so.6(GLIBC_2.7)(64bit)
libcrypto.so.10()(64bit)
libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit)
libcrypto.so.10(libcrypto.so.10)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libgssapi_krb5.so.2()(64bit)
libgssapi_krb5.so.2(gssapi_krb5_2_MIT)(64bit)
libldap-2.4.so.2()(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpam.so.0()(64bit)
libpam.so.0(LIBPAM_1.0)(64bit)
libpq.so.5()(64bit)
librt.so.1()(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)
libssl.so.10()(64bit)
libssl.so.10(libssl.so.10)(64bit)
libxml2.so.2()(64bit)
libxml2.so.2(LIBXML2_2.4.30)(64bit)
libxml2.so.2(LIBXML2_2.6.0)(64bit)
postgresql95 = 9.5.7-1PGDG.rhel7
postgresql95(x86-64) = 9.5.7-1PGDG.rhel7
postgresql95-libs(x86-64) = 9.5.7-1PGDG.rhel7
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)
systemd-units
systemd-units
systemd-units
rpmlib(PayloadIsXz) <= 5.2-1
--
Gustavo Campos

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] [PATCH] Fixed malformed error message on malformed SCRAMmessage.
Next
From: "David G. Johnston"
Date:
Subject: Re: [BUGS] BUG #14678: PGDG Rhel6 repo contain packet for Rhel7 system