Обсуждение: [BUGS] PGDG Repository for RHEL6 is bronen, populated with RHEL7 packages
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
* base: mirror.scalabledns.com
* epel: mirror.sjc02.svwh.net
* extras: mirror.sjc02.svwh.net
* updates: mirror.sjc02.svwh.net
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
Hi Gustavo, On Mon, 2017-05-29 at 22:08 +0000, Gustavo Campos wrote: > 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. <snip> :-( This happened today, while I was unifying build instances :( This affected all RHEL 6 - x86_64 installations. Fixed master repo by restoring from the backups. They will sync to download.postgresql.org in next 10-15 mins. Can you please let me know if you see more issues? Apologies for the inconvenience. Regards, -- Devrim Gündüz EnterpriseDB: http://www.enterprisedb.com PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer Twitter: @DevrimGunduz , @DevrimGunduzTR
Re: [BUGS] PGDG Repository for RHEL6 is bronen, populated with RHEL7 packages
От
Gustavo Campos
Дата:
No Problem anymore! Was just able to install PS9.6 on a CS6 box with pretty much the same settings I had before (this is an Ansible automated setup). Looks fixed to me.
Thanks Devrim!
On Mon, May 29, 2017 at 9:13 PM Devrim Gündüz <devrim@gunduz.org> wrote:
Hi Gustavo,
On Mon, 2017-05-29 at 22:08 +0000, Gustavo Campos wrote:
> 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.
<snip>
:-( This happened today, while I was unifying build instances :( This affected
all RHEL 6 - x86_64 installations.
Fixed master repo by restoring from the backups. They will sync to
download.postgresql.org in next 10-15 mins.
Can you please let me know if you see more issues?
Apologies for the inconvenience.
Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR
--
Gustavo Campos