upgrade of postgresql-contrib from 8.4.8 to 8.4.9 fails

Doug Sampson dougs at dawnsign.com
Wed Nov 2 22:17:43 UTC 2011


> You are rebuilding the server, you need to rebuild the client part.
> 
> # cd /usr/ports/databases/postgresql84-client
> # make config
> unselect GSSAPI
> # make FORCE_PKG_REGISTER=yes install clean
> 

cetus-root@/usr/ports/databases/postgresql84-server# cd
../postgresql84-client
cetus-root@/usr/ports/databases/postgresql84-client# make showconfig
===> The following configuration options are available for
postgresql-client-8.4.9:
     NLS=on "Use internationalized messages"
     PAM=off "Build with PAM support (server only)"
     LDAP=off "Build with LDAP authentication support"
     MIT_KRB5=off "Build with MIT's kerberos support"
     HEIMDAL_KRB5=off "Builds with Heimdal kerberos support"
     OPTIMIZED_CFLAGS=off "Builds with compiler optimizations (-O3)"
     XML=on "Build with XML data type (server)"
     TZDATA=on "Use internal timezone database (server)"
     DEBUG=off "Builds with debugging symbols"
     GSSAPI=off "BUild with GSSAPI support"
     ICU=off "Use ICU for unicode collation (server)"
     INTDATE=on "Builds with 64-bit date/time type (server)"
     SSL=on "Build with OpenSSL support"
===> Use 'make config' to modify these settings
cetus-root@/usr/ports/databases/postgresql84-client# make deinstall
clean
===>  Deinstalling for databases/postgresql84-client
===>   Deinstalling postgresql-client-8.4.9
pkg_delete: package 'postgresql-client-8.4.9' is required by these other
packages
and may not be deinstalled (but I'll delete it anyway):
ap22-mod_auth_kerb-5.4_3
apache-2.2.21
apr-ipv6-devrandom-gdbm-db42-pgsql84-1.4.5.1.3.12_1
foswiki-1.1.3
p5-DBD-Pg-2.18.1_1
pgtop-0.05_2
postgresql-plperl-8.4.9_2
postgresql-server-8.4.9_2
pkg_delete: unable to completely remove directory
'/usr/local/lib/postgresql'
pkg_delete: couldn't entirely delete package (perhaps the packing list
is
incorrectly specified?)
===>  Cleaning for postgresql-client-8.4.9
cetus-root@/usr/ports/databases/postgresql84-client# make
FORCE_PKG_REGISTER=yes install clean

<..snip..>

===>   Compressing manual pages for postgresql-client-8.4.9
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for postgresql-client-8.4.9
===>  Cleaning for postgresql-client-8.4.9
cetus-root@/usr/ports/databases/postgresql84-client#
/usr/local/etc/rc.d/postgresql restart
server stopped
cetus-root@/usr/ports/databases/postgresql84-client# ps aux | g postgres
pgsql     86609  0.0  1.2 526136 23944  ??  Ss    2:30PM   0:00.26
/usr/local/bin/postgres -D /home/pgsql/data
pgsql     86611  0.0  0.4 526136  8796  ??  Ss    2:30PM   0:00.01
postgres: writer process    (postgres)
pgsql     86612  0.0  0.4 526136  7624  ??  Ss    2:30PM   0:00.00
postgres: wal writer process    (postgres)
pgsql     86613  0.0  0.4 526136  7944  ??  Ss    2:30PM   0:00.01
postgres: autovacuum launcher process    (p
pgsql     86614  0.0  0.4 15728  7752  ??  Ss    2:30PM   0:00.01
postgres: stats collector process    (postg
root      86623  0.0  0.1  3496  1056   0  S+    2:31PM   0:00.00 egrep
-i postgres
cetus-root@/usr/ports/databases/postgresql84-client#

All is good.

~Doug


More information about the freebsd-ports mailing list