Package: postgresql-common
Version: 115
Severity: normal
pg_upgradecluster failed with the same error during an attempt to upgrade an
8.4 cluster as well as an 8.3 cluster. The output from running the command is:
myhost:~# pg_upgradecluster 8.3 main
Stopping old cluster...
Disabling connections to the old cluster during upgrade...
Restarting old cluster with restricted connections...
Creating new cluster (configuration: /etc/postgresql/9.0/main, data:
/var/lib/postgresql/9.0/main)...
Moving configuration file /var/lib/postgresql/9.0/main/postgresql.conf to
/etc/postgresql/9.0/main...
Moving configuration file /var/lib/postgresql/9.0/main/pg_hba.conf to
/etc/postgresql/9.0/main...
Moving configuration file /var/lib/postgresql/9.0/main/pg_ident.conf to
/etc/postgresql/9.0/main...
Configuring postgresql.conf to use port 5433...
Disabling connections to the new cluster during upgrade...
Roles, databases, schemas, ACLs...
Fixing hardcoded library paths for stored procedures...
ERROR: function replace(bytea, unknown, unknown) does not exist
LINE 3: replace(probin, '/usr/lib/postgresql/lib', '$libdir'),
^
HINT: No function matches the given name and argument types. You might need to
add explicit type casts.
Error: Could not fix library paths
Re-enabling connections to the old cluster...
Re-enabling connections to the new cluster...
Error during cluster dumping, removing new cluster
Although postgresql-common does not depend explicitly on perl,
pg_upgradecluster is a perl script. Perhap the recent upgrade from
5.10 -> 5.12 of perl may be the cause of the problem.
My perl is:
ii perl 5.12.3-6 Larry Wall's Practical Extraction and Report
Please let me know if I can be assistance in squashing this bug.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (800, 'unstable'), (300, 'oldstable'), (300, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages postgresql-common depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii postgresql-client-common 115 manager for multiple PostgreSQL cl
ii procps 1:3.2.8-10 /proc file system utilities
ii ssl-cert 1.0.28 simple debconf wrapper for OpenSSL
postgresql-common recommends no packages.
postgresql-common suggests no packages.
-- debconf-show failed
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]