[Bug 800543] Re: Installing zabbix-frontend-php fails in noninteractive mode

Dave Walker davewalker at ubuntu.com
Tue Jul 5 14:48:02 UTC 2011


Uploaded to lucid-proposed, currently in the Unapproved queue awaiting
SRU processing.  Thanks Tom!

** Description changed:

  ## Issue
  
  * When installing zabbix-frontend-php in noninteractive mode the install
  fails to determine the database type
  
  ## Environment
  
  * Ubuntu 10.04 LTS (Lucid) x86_64
  
  * zabbix-frontend-php & zabbix-server-mysql 1:1.8.1-1ubuntu1
  
  * Using preseeding and Puppet (which uses apt in noninteractive mode,
  DEBIAN_FRONTEND=noninteractive)
  
  ## Diagnostic Steps
  
  1. Install Ubuntu 10.04 LTS
  
  2. Install mysql-server
  
  3. Preseed the zabbix-frontend-php & zabbix-server-mysql packages
  
  4. Install the zabbix packages via puppet or 'sudo
  DEBIAN_FRONTEND=noninteractive apt-get install zabbix-server-mysql
  zabbix-frontend-php'
  
  5. See the installation fail:
  
  Setting up zabbix-frontend-php (1:1.8.1-1ubuntu1) ...
  sanity check failed for dbc_dbtype.
  error encountered :
  dbconfig-common can not determine the database type.
  dbconfig-common: zabbix-frontend-php configure: aborted.
  dbconfig-common: flushing administrative password
  dpkg: error processing zabbix-frontend-php (--configure):
-  subprocess installed post-installation script returned error exit status 1
+  subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin ...
  ldconfig deferred processing now taking place
  Errors were encountered while processing:
-  zabbix-frontend-php
+  zabbix-frontend-php
  E: Sub-process /usr/bin/dpkg returned an error code (1)
- 
  
  ## Additional Information
  
  The installation uses dbconfig-common (dbconfig-common_1.8.44 in Lucid)
  which fails much more gracefully when using Maverick (dbconfig-
  common_1.8.46)
  
  This was also mentioned on Puppet-users some time ago:
+ 
+ Regression potential should be considered low.  The patch has been cherry picked from a later version, and has been out in the wild for a while.
  http://groups.google.com/group/puppet-users/browse_thread/thread/205119dd8336edd9?tvc=2&fwc=1

** Description changed:

  ## Issue
  
  * When installing zabbix-frontend-php in noninteractive mode the install
  fails to determine the database type
  
  ## Environment
  
  * Ubuntu 10.04 LTS (Lucid) x86_64
  
  * zabbix-frontend-php & zabbix-server-mysql 1:1.8.1-1ubuntu1
  
  * Using preseeding and Puppet (which uses apt in noninteractive mode,
  DEBIAN_FRONTEND=noninteractive)
  
  ## Diagnostic Steps
  
  1. Install Ubuntu 10.04 LTS
  
  2. Install mysql-server
  
  3. Preseed the zabbix-frontend-php & zabbix-server-mysql packages
  
  4. Install the zabbix packages via puppet or 'sudo
  DEBIAN_FRONTEND=noninteractive apt-get install zabbix-server-mysql
  zabbix-frontend-php'
  
  5. See the installation fail:
  
  Setting up zabbix-frontend-php (1:1.8.1-1ubuntu1) ...
  sanity check failed for dbc_dbtype.
  error encountered :
  dbconfig-common can not determine the database type.
  dbconfig-common: zabbix-frontend-php configure: aborted.
  dbconfig-common: flushing administrative password
  dpkg: error processing zabbix-frontend-php (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for libc-bin ...
  ldconfig deferred processing now taking place
  Errors were encountered while processing:
   zabbix-frontend-php
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  ## Additional Information
  
  The installation uses dbconfig-common (dbconfig-common_1.8.44 in Lucid)
  which fails much more gracefully when using Maverick (dbconfig-
  common_1.8.46)
  
  This was also mentioned on Puppet-users some time ago:
+ http://groups.google.com/group/puppet-users/browse_thread/thread/205119dd8336edd9?tvc=2&fwc=1
  
- Regression potential should be considered low.  The patch has been cherry picked from a later version, and has been out in the wild for a while.
- http://groups.google.com/group/puppet-users/browse_thread/thread/205119dd8336edd9?tvc=2&fwc=1
+ Regression potential should be considered low.  The patch has been
+ cherry picked from a later version, and has been out in the wild for a
+ while.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dbconfig-common in Ubuntu.
https://bugs.launchpad.net/bugs/800543

Title:
  Installing zabbix-frontend-php fails in noninteractive mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbconfig-common/+bug/800543/+subscriptions



More information about the Ubuntu-server-bugs mailing list