Johnny Hughes wrote:
There are postgres 8 rpms in the CentOS testing tree.
http://lists.centos.org/pipermail/centos-devel/2005-December/002017.html
The latest version in there now is:
postgresql-server-8.1.2
Hi All,
I have just tried this with limited success,
[racket@ibmlap ~]$ sudo /usr/bin/yum --enablerepo c4-testing install postgresql-8.1.0-4.c4 Setting up Install Process Setting up repositories dag 100% |=========================| 1.1 kB 00:00 c4-testing 100% |=========================| 951 B 00:00 update 100% |=========================| 951 B 00:00 base 100% |=========================| 1.1 kB 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 11 kB 00:00 update : ################################################## 23/23 Added 1 new packages, deleted 0 old in 0.96 seconds primary.xml.gz 100% |=========================| 35 kB 00:00 extras : ################################################## 159/159 Added 26 new packages, deleted 0 old in 2.45 seconds Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for postgresql to pack into transaction set. postgresql-8.1.0-4.c4.i38 100% |=========================| 109 kB 00:01 ---> Package postgresql.i386 0:8.1.0-4.c4 set to be updated --> Running transaction check --> Processing Dependency: libpq.so.4 for package: postgresql --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package postgresql-libs.i386 0:8.1.2-1.c4 set to be updated --> Running transaction check
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: postgresql i386 8.1.0-4.c4 c4-testing 2.7 M Installing for dependencies: postgresql-libs i386 8.1.2-1.c4 c4-testing 178 k
Transaction Summary ============================================================================= Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.8 M Is this ok [y/N]: y Downloading Packages: (1/2): postgresql-8.1.0-4 100% |=========================| 2.7 MB 00:24 (2/2): postgresql-libs-8. 100% |=========================| 178 kB 00:01 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: postgresql-libs ######################### [1/2] Installing: postgresql ######################### [2/2]
Installed: postgresql.i386 0:8.1.0-4.c4 Dependency Installed: postgresql-libs.i386 0:8.1.2-1.c4 Complete!
Then I did a whereis/which after running updatedb, and was expecting to find pgsql in /usr/local/ or elsewhere, but nothing.
[racket@ibmlap ~]$ rpm -qa | grep postgresql* postgresql-8.1.0-4.c4 postgresql-libs-8.1.2-1.c4
[racket@ibmlap usr]$ sudo find / -name postgresql Password: /usr/bin/find: /proc/3991/task: No such file or directory /home/racket/downloads/postgresql
[racket@ibmlap pgsql]$ rpm -qi | grep postgresql* rpmq: no arguments given for query
Perhaps I'm still doing something fundamentally wrong? Cheers.
Mark Sargent.