Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Nov 2011 14:54:34 -0700
From:      "Doug Sampson" <dougs@dawnsign.com>
To:        "Johan Hendriks" <joh.hendriks@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   RE: upgrade of postgresql-contrib from 8.4.8 to 8.4.9 fails
Message-ID:  <D358EEF1F9124D44B25B0ED225C8FDE615F3D9@hydra.dawnsign.com>
In-Reply-To: <4EB1AA59.6070102@gmail.com>
References:  <D358EEF1F9124D44B25B0ED225C8FDE615F3D2@hydra.dawnsign.com><D358EEF1F9124D44B25B0ED225C8FDE615F3D3@hydra.dawnsign.com><4EB199D1.7080604@yandex.ru><D358EEF1F9124D44B25B0ED225C8FDE615F3D4@hydra.dawnsign.com> <4EB1A42E.80506@yandex.ru> <D358EEF1F9124D44B25B0ED225C8FDE615F3D6@hydra.dawnsign.com> <4EB1AA59.6070102@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> You are rebuilding the server, you need to rebuild the client part.
>=20
> # cd /usr/ports/databases/postgresql84-client
> # make config
> unselect GSSAPI
> # make FORCE_PKG_REGISTER=3Dyes install clean
>=20

cetus-root@/usr/ports/databases/postgresql84-server# cd
../postgresql84-client
cetus-root@/usr/ports/databases/postgresql84-client# make showconfig
=3D=3D=3D> The following configuration options are available for
postgresql-client-8.4.9:
     NLS=3Don "Use internationalized messages"
     PAM=3Doff "Build with PAM support (server only)"
     LDAP=3Doff "Build with LDAP authentication support"
     MIT_KRB5=3Doff "Build with MIT's kerberos support"
     HEIMDAL_KRB5=3Doff "Builds with Heimdal kerberos support"
     OPTIMIZED_CFLAGS=3Doff "Builds with compiler optimizations (-O3)"
     XML=3Don "Build with XML data type (server)"
     TZDATA=3Don "Use internal timezone database (server)"
     DEBUG=3Doff "Builds with debugging symbols"
     GSSAPI=3Doff "BUild with GSSAPI support"
     ICU=3Doff "Use ICU for unicode collation (server)"
     INTDATE=3Don "Builds with 64-bit date/time type (server)"
     SSL=3Don "Build with OpenSSL support"
=3D=3D=3D> Use 'make config' to modify these settings
cetus-root@/usr/ports/databases/postgresql84-client# make deinstall
clean
=3D=3D=3D>  Deinstalling for databases/postgresql84-client
=3D=3D=3D>   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?)
=3D=3D=3D>  Cleaning for postgresql-client-8.4.9
cetus-root@/usr/ports/databases/postgresql84-client# make
FORCE_PKG_REGISTER=3Dyes install clean

<..snip..>

=3D=3D=3D>   Compressing manual pages for postgresql-client-8.4.9
=3D=3D=3D>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
=3D=3D=3D>   Registering installation for postgresql-client-8.4.9
=3D=3D=3D>  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D358EEF1F9124D44B25B0ED225C8FDE615F3D9>