Обсуждение: Centos 5.5 and Postgres 9.0.beta3 install errors
Dear all, Can anyone help me with the errors I seem to be having installing the latest Postgresql 9.0 beta 3 rpms from the PGDG-9.0 repository on Centos 5.5? I am having dependency issues: Error: Missing Dependency: libpq.so.4 is needed by package postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) Error: Missing Dependency: libecpg.so.5 is needed by package postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) Error: Missing Dependency: libpgtypes.so.2 is needed by package postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) I've tried installing postgresql-libs from the original Centos repository which provides all of the above files however when trying to update the packages to PG 9.0 I continue to get these errors. Thank you, Tom Robst --
On Fri, 2010-07-23 at 10:50 +0100, Tom Robst wrote:
>
> Can anyone help me with the errors I seem to be having installing the
> latest Postgresql 9.0 beta 3 rpms from the PGDG-9.0 repository on
> Centos
> 5.5?
>
> I am having dependency issues:
>
> Error: Missing Dependency: libpq.so.4 is needed by package
> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90)
> Error: Missing Dependency: libecpg.so.5 is needed by package
> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90)
> Error: Missing Dependency: libpgtypes.so.2 is needed by package
> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90)
Apparently RPM repo maintainers needs not only to build, but test
installing, etc. before pushing packages.
I just tried it with my repo, and it worked well:
================================================================================
Package Arch Version Repository
Size
================================================================================
Installing:
httpd x86_64 2.2.3-43.el5.centos base 1.2 M
postgresql-server x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 4.5 M
Installing for dependencies:
apr x86_64 1.2.7-11.el5_3.1 base 118 k
apr-util x86_64 1.2.7-11.el5 base 79 k
compat-postgresql-libs x86_64 4-1PGDG.rhel5 pgdg90 62 k
libxslt x86_64 1.1.17-2.el5_2.2 base 488 k
postgresql x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 1.3 M
postgresql-libs x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 206 k
Transaction Summary
================================================================================
Install 8 Package(s)
Upgrade 0 Package(s)
Total download size: 8.0 M
Is this ok [y/N]: y
See the compat-postgresql-libs there. My repo? It is http://yum.pgrpms.org .
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz
Вложения
Hi Devrim, Thank you for your reply...I've run an yum clean all and re-installed the pgdg-centos-9.0-2.noarch rpm but now I'm getting this error: http://yum.pgrpms.org/9.0/redhat/rhel-5-i386/postgresql-libs-9.0-beta3_1PGDG.rhel5.i386.rpm: [Errno -1] Package does not match intended download (on all the packages from yum.pgrpms.org). Is this a problem at my end? Thank you, Tom -- On 07/23/10 11:11, Devrim GÜNDÜZ wrote: > On Fri, 2010-07-23 at 10:50 +0100, Tom Robst wrote: >> >> Can anyone help me with the errors I seem to be having installing the >> latest Postgresql 9.0 beta 3 rpms from the PGDG-9.0 repository on >> Centos >> 5.5? >> >> I am having dependency issues: >> >> Error: Missing Dependency: libpq.so.4 is needed by package >> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) >> Error: Missing Dependency: libecpg.so.5 is needed by package >> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) >> Error: Missing Dependency: libpgtypes.so.2 is needed by package >> postgresql-libs-9.0-beta3_1PGDG.el5.i386 (pgdg90) > > Apparently RPM repo maintainers needs not only to build, but test > installing, etc. before pushing packages. > > I just tried it with my repo, and it worked well: > > ================================================================================ > Package Arch Version Repository > Size > ================================================================================ > Installing: > httpd x86_64 2.2.3-43.el5.centos base 1.2 M > postgresql-server x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 4.5 M > Installing for dependencies: > apr x86_64 1.2.7-11.el5_3.1 base 118 k > apr-util x86_64 1.2.7-11.el5 base 79 k > compat-postgresql-libs x86_64 4-1PGDG.rhel5 pgdg90 62 k > libxslt x86_64 1.1.17-2.el5_2.2 base 488 k > postgresql x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 1.3 M > postgresql-libs x86_64 9.0-beta3_1PGDG.rhel5 pgdg90 206 k > > Transaction Summary > ================================================================================ > Install 8 Package(s) > Upgrade 0 Package(s) > > Total download size: 8.0 M > Is this ok [y/N]: y > > See the compat-postgresql-libs there. My repo? It is http://yum.pgrpms.org .. > > > > > !DSPAM:4,4c496e0a280414995866539!
On Fri, 2010-07-23 at 11:48 +0100, Tom Robst wrote: > > Thank you for your reply...I've run an yum clean all and re-installed > the pgdg-centos-9.0-2.noarch rpm but now I'm getting this error: > > http://yum.pgrpms.org/9.0/redhat/rhel-5-i386/postgresql-libs-9.0-beta3_1PGDG.rhel5.i386.rpm: > [Errno -1] Package does not match intended download > > (on all the packages from yum.pgrpms.org). Is this a problem at my > end? Just confirmed on a few machines -- I'm afraid it is a problem on your end... FWIW, Beta4 will be available on Monday. You may want to wait for that. Regards, -- Devrim GÜNDÜZ PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer PostgreSQL RPM Repository: http://yum.pgrpms.org Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz