[CentOS] RPM for postgresql 8-* for CentOS4?

Sun Apr 9 16:10:40 UTC 2006
Mark Sargent <powderkeg at snow.email.ne.jp>

Johnny Hughes wrote:

>yum remove postgresql-server-8.1.3-1PGDG postgresql-8.1.3-1PGDG postgresql-libs-8.1.3-1PGDG
>
>(the above is one line)
>
>If that has everything remove cleanly ... then try the install with yum.
>
Hi All,

[racket at ibmlap postgresql]$ sudo /usr/bin/yum remove 
postgresql-server-8.1.3-1PGDG postgresql-8.1.3-1PGDG 
postgresql-libs-8.1.3-1PGDG
Password:
Setting up Remove Process
No Match for argument: postgresql-8.1.3-1PGDG
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql-libs.i686 0:8.1.3-1PGDG set to be erased
---> Package postgresql-server.i686 0:8.1.3-1PGDG set to be erased
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
 postgresql-libs         i686       8.1.3-1PGDG      installed         931 k
 postgresql-server       i686       8.1.3-1PGDG      installed          16 M

Transaction Summary
=============================================================================
Install      0 Package(s)
Update       0 Package(s)
Remove       2 Package(s)
Total download size: 0
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
error reading information on service postgresql: No such file or directory
error: %preun(postgresql-server-8.1.3-1PGDG.i686) scriptlet failed, exit 
status 1
  Removing  : postgresql-libs              ######################### [1/2]

Removed: postgresql-libs.i686 0:8.1.3-1PGDG postgresql-server.i686 
0:8.1.3-1PGDG
Complete!
[racket at ibmlap postgresql]$ sudo /usr/bin/yum --enablerepo c4-testing 
install postgresql 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
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package postgresql.i386 0:8.1.2-1.c4 set to be updated
--> Running transaction check
--> Processing Dependency: libpq.so.4 for package: postgresql
--> Processing Dependency: postgresql = 8.1.3 for package: postgresql-server
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for postgresql-libs to pack into transaction set.
postgresql-libs-8.1.2-1.c 100% |=========================|  14 kB    00:00
---> Package postgresql-libs.i386 0:8.1.2-1.c4 set to be updated
--> Running transaction check
--> Processing Dependency: postgresql = 8.1.3 for package: postgresql-server
--> Finished Dependency Resolution
Error: Missing Dependency: postgresql = 8.1.3 is needed by package 
postgresql-server

Not sure what to do next? Cheers.

Mark Sargent