Comment 2 for bug 948719

Revision history for this message
James Page (james-page) wrote :

A bit more diagnostic:

+ set -e
+ . /usr/share/debconf/confmodule
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/debconf/frontend /var/lib/dpkg/info/keystone.prerm remove
+ set -e
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ . /usr/share/dbconfig-common/dpkg/prerm
+ dbc_go keystone remove
+ local need_admin_pw dumpfile nowtime rmscript rmsql purgescript purgesql tsubstfile
+ . /usr/share/dbconfig-common/dpkg/common
+ . /usr/share/dbconfig-common/internal/common
+ [ ]
+ _dbc_logfile=/var/log/dbconfig-common/dbc.log
+ _dbc_debug (prerm) dbc_go() keystone remove
+ [ ]
+ dbc_config keystone remove
+ _dbc_debug dbc_config() keystone remove
+ [ ]
+ dbc_share=/usr/share/dbconfig-common
+ dbc_package=keystone
+ echo keystone
+ cut -d_ -f1
+ dbc_basepackage=keystone
+ dbc_command=remove
+ dbc_oldversion=
+ _dbc_sanity_check package command
+ [ 2 -ne 0 ]
+ [ -z keystone ]
+ shift
+ [ 1 -ne 0 ]
+ [ -z remove ]
+ shift
+ [ 0 -ne 0 ]
+ dbc_confdir=/etc/dbconfig-common
+ dbc_globalconfig=/etc/dbconfig-common/config
+ dbc_packageconfig=/etc/dbconfig-common/keystone.conf
+ dbc_standard_templates=database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error
+ dbc_mysql_templates=mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user
+ dbc_pgsql_templates=pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords
+ dbc_sqlite_templates=db/dbname db/basepath
+ dbc_all_supported_dbtypes=mysql pgsql sqlite sqlite3
+ dbc_authenticated_dbtypes=mysql pgsql
+ dbc_remote_dbtypes=mysql pgsql
+ dbc_fs_dbtypes=sqlite sqlite3
+ [ -f /etc/dbconfig-common/config ]
+ . /etc/dbconfig-common/config
+ dbc_remember_admin_pass=false
+ dbc_remote_questions_default=false
+ [ false = true ]
+ dbc_remote_questions_priority=low
+ dbc_default_pgsql_authmethod_admin=ident
+ dbc_set_dbtype_defaults
+ _dbc_debug dbc_set_dbtype_defaults()
+ [ ]
+ [ ]
+ dbc_default_basepath=
+ dbc_db_installed_cmd=dbc__db_installed
+ dbc_register_templates=database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords db/dbname db/basepath
+ [ ]
+ dbc_read_package_config
+ _dbc_debug dbc_read_package_config()
+ [ ]
+ _dbc_sanity_check package packageconfig
+ [ 2 -ne 0 ]
+ [ -z keystone ]
+ shift
+ [ 1 -ne 0 ]
+ [ -z /etc/dbconfig-common/keystone.conf ]
+ shift
+ [ 0 -ne 0 ]
+ dbc_install=true
+ dbc_upgrade=true
+ [ -f /etc/dbconfig-common/keystone.conf ]
+ [ -z ]
+ dbc_dballow=localhost
+ dbc_set_dbtype_defaults
+ _dbc_debug dbc_set_dbtype_defaults()
+ [ ]
+ [ ]
+ dbc_default_basepath=
+ dbc_db_installed_cmd=dbc__db_installed
+ dbc_register_templates=database-type dbconfig-install dbconfig-upgrade dbconfig-remove dbconfig-reinstall password-confirm app-password-confirm purge upgrade-backup passwords-do-not-match install-error upgrade-error remove-error internal/reconfiguring internal/skip-preseed missing-db-package-error mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmethod-admin pgsql/authmethod-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no-empty-passwords db/dbname db/basepath
+ [ ]
+ echo mysql pgsql
+ grep -q
+ need_admin_pw=yup
+ [ remove = remove ]
+ [ ! ]
+ [ true != true ]
+ [ ]
+ db_fset keystone/dbconfig-remove seen false
+ _db_cmd FSET keystone/dbconfig-remove seen false
+ _db_internal_IFS=

+ IFS=
+ printf %s\n FSET keystone/dbconfig-remove seen false
+ IFS=

+ IFS=
 read -r _db_internal_line
+ RET=10 keystone/dbconfig-remove doesn't exist
+ return 10