Обсуждение: postgresql95 package dependencies?
Hi, I need a relatively modern set of client applications on a RHEL 5.10 system, so have decided to install 9.5.7 since https://www.postgresql.org/download/linux/redhat/ provides prebuilt packages. This system is not connected to the internet so must manually install postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm. Does it depend on any other packages, like postgresql95-libs-9.5.7-1PGDG.rhel5.x86_64.rpm? Thanks. -- Angular momentum makes the world go 'round.
* Ron: > I need a relatively modern set of client applications on a RHEL 5.10 system, > so have decided to install 9.5.7 since > https://www.postgresql.org/download/linux/redhat/ provides prebuilt packages. > > This system is not connected to the internet so must manually install > postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm. Does it depend on any other > packages, like postgresql95-libs-9.5.7-1PGDG.rhel5.x86_64.rpm? You can easily check yourself: $ rpm -qp --requires https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm warning: https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm:Header V3DSA/SHA1 Signature, key ID 442df0f8: NOKEY /bin/sh /bin/sh /sbin/ldconfig /usr/sbin/update-alternatives /usr/sbin/update-alternatives chkconfig chkconfig initscripts initscripts libc.so.6()(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) libcrypt.so.1()(64bit) libcrypto.so.6()(64bit) libdl.so.2()(64bit) libgssapi_krb5.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpam.so.0()(64bit) libpq.so.5()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libreadline.so.5()(64bit) librt.so.1()(64bit) libssl.so.6()(64bit) libtermcap.so.2()(64bit) libxml2.so.2()(64bit) libxslt.so.1()(64bit) libz.so.1()(64bit) postgresql95-libs = 9.5.7-1PGDG.rhel5 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rtld(GNU_HASH) In this case, libpq.so.5()(64bit) will be satisfied by the client library package. If the target system is disconnected, you should use reposync to copy the entire repository. After all, it's not that large.
On 11/03/2018 02:06 PM, Florian Weimer wrote: > * Ron: > >> I need a relatively modern set of client applications on a RHEL 5.10 system, >> so have decided to install 9.5.7 since >> https://www.postgresql.org/download/linux/redhat/ provides prebuilt packages. >> >> This system is not connected to the internet so must manually install >> postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm. Does it depend on any other >> packages, like postgresql95-libs-9.5.7-1PGDG.rhel5.x86_64.rpm? > You can easily check yourself: > > $ rpm -qp --requires https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm > warning: https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-5-x86_64/postgresql95-9.5.7-1PGDG.rhel5.x86_64.rpm:Header V3DSA/SHA1 Signature, key ID 442df0f8: NOKEY > /bin/sh > /bin/sh > /sbin/ldconfig [snip] > libxslt.so.1()(64bit) > libz.so.1()(64bit) > postgresql95-libs = 9.5.7-1PGDG.rhel5 > rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rtld(GNU_HASH) > > In this case, libpq.so.5()(64bit) will be satisfied by the client > library package. > > If the target system is disconnected, you should use reposync to copy > the entire repository. After all, it's not that large. Thanks. -- Angular momentum makes the world go 'round.