I am preseeding the following using debconf-set-selections before installing the packages:
mysql-server-5.1 mysql-server/root_password_again password root mysql-server-5.1 mysql-server/root_password password root zabbix-server-mysql zabbix-server-mysql/dbconfig-install boolean true zabbix-server-mysql zabbix-server-mysql/database-type select mysql zabbix-server-mysql zabbix-server-mysql/mysql/app-pass password zabbix zabbix-server-mysql zabbix-server-mysql/app-password-confirm password zabbix zabbix-server-mysql zabbix-server-mysql/mysql/admin-pass password root zabbix-server-mysql zabbix-server-mysql/password-confirm password root zabbix-frontend-php zabbix-frontend-php/mysql/app-pass password zabbix zabbix-frontend-php zabbix-frontend-php/pgsql/app-pass password zabbix zabbix-frontend-php zabbix-frontend-php/database-type select mysql zabbix-frontend-php zabbix-frontend-php/password-confirm password root zabbix-frontend-php zabbix-frontend-php/mysql/admin-pass password root zabbix-frontend-php zabbix-frontend-php/app-password-confirm password zabbix zabbix-frontend-php zabbix-frontend-php/pgsql/admin-pass password zabbix-frontend-php zabbix-frontend-php/mysql/admin-user string root ** 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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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/zabbix/+bug/800543/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
