[Pkg-postgresql-public] Bug#697377: postgresql-common throws warnings in the default configuration

Christoph Berg myon at debian.org
Fri Jan 4 15:15:55 UTC 2013


Package: postgresql-common
Version: 134
Severity: important

When any postgresql server package is installed, there are warnings
printed to stderr:

Setting up postgresql-9.2 (9.2.2-1.pgdg+1) ...
Use of uninitialized value in socket at /usr/share/postgresql-common/PgCommon.pm line 679.
Use of uninitialized value in socket at /usr/share/postgresql-common/PgCommon.pm line 686.
Creating new cluster (configuration: /etc/postgresql/9.2/main, data: /var/lib/postgresql/9.2/main)...

This is caused by a missing dependency on netbase in
postgresql-client-common. PgCommon.pm uses getprotobyname() and that
needs /etc/protocols present.

Fixed in bzr r1257:

--- debian/control	2012-09-07 07:53:48 +0000
+++ debian/control	2013-01-04 15:11:13 +0000
@@ -40,7 +40,8 @@
 
 Package: postgresql-client-common
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends},
+ netbase
 Recommends: lsb-release, libreadline6
 Description: manager for multiple PostgreSQL client versions
  The postgresql-client-common package provides a structure under which

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/



More information about the Pkg-postgresql-public mailing list