You are right.
This error happened on a specific virtual host on a non standard installation.
It is on a production environment now, so I can't provide another patch.

** Description changed:

  The configure rule of maintscripts-functions is broken.
  This breaks the postinst rule, making the postgres not properly configured.
- 
- Here is the patch
- 
- --- maintscripts-functions2   2009-06-02 23:39:19.702586763 -0300
- +++ maintscripts-functions    2009-06-02 23:39:39.902093515 -0300
- @@ -25,11 +25,11 @@
-         [ -z "$(ls /etc/postgresql/$VERSION/*/postgresql.conf 2>/dev/null)" 
]; then
-          [ "$2" ] || /usr/bin/pg_createcluster -u postgres $VERSION main || {
-       echo "Error: could not create default cluster. Please create it 
manually with
- +or a similar command (see 'man pg_createcluster')." >&2
- +     }
-  
-    pg_createcluster $VERSION main --start
-  
- -or a similar command (see 'man pg_createcluster')." >&2
- -     }
-      fi
-  
-      _link_manpages "$VERSION" "postgresql-$VERSION" postmaster.1.gz

-- 
Configure rule of maintscripts-functions is broken
https://bugs.launchpad.net/bugs/383011
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to