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
A bit more diagnostic:
+ set -e debconf/ confmodule debconf/ frontend /var/lib/ dpkg/info/ keystone. prerm remove debconf/ confmodule dbconfig- common/ dpkg/prerm dbconfig- common/ dpkg/common dbconfig- common/ internal/ common /var/log/ dbconfig- common/ dbc.log /usr/share/ dbconfig- common keystone =keystone /etc/dbconfig- common g=/etc/ dbconfig- common/ config ig=/etc/ dbconfig- common/ keystone. conf 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 templates= mysql/method remote/host remote/newhost mysql/app-pass mysql/admin-user mysql/admin-pass remote/port db/dbname db/app-user templates= pgsql/method remote/host remote/newhost pgsql/app-pass pgsql/admin-user pgsql/admin-pass remote/port pgsql/authmetho d-admin pgsql/authmetho d-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no- empty-passwords templates= db/dbname db/basepath supported_ dbtypes= mysql pgsql sqlite sqlite3 ed_dbtypes= mysql pgsql dbtypes= mysql pgsql dbtypes= sqlite sqlite3 common/ config ] common/ config admin_pass= false questions_ default= false questions_ priority= low pgsql_authmetho d_admin= ident dbtype_ defaults dbtype_ defaults( ) basepath= installed_ cmd=dbc_ _db_installed 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/authmetho d-admin pgsql/authmetho d-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no- empty-passwords db/dbname db/basepath package_ config package_ config( ) common/ keystone. conf ] common/ keystone. conf ] localhost dbtype_ defaults dbtype_ defaults( ) basepath= installed_ cmd=dbc_ _db_installed 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/authmetho d-admin pgsql/authmetho d-user pgsql/changeconf pgsql/manualconf db/dbname db/app-user pgsql/no- empty-passwords db/dbname db/basepath dbconfig- remove seen false dbconfig- remove seen false
+ . /usr/share/
+ [ ! ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [ ]
+ exec /usr/share/
+ set -e
+ . /usr/share/
+ [ ! 1 ]
+ [ -z ]
+ exec
+ [ ]
+ exec
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ . /usr/share/
+ dbc_go keystone remove
+ local need_admin_pw dumpfile nowtime rmscript rmsql purgescript purgesql tsubstfile
+ . /usr/share/
+ . /usr/share/
+ [ ]
+ _dbc_logfile=
+ _dbc_debug (prerm) dbc_go() keystone remove
+ [ ]
+ dbc_config keystone remove
+ _dbc_debug dbc_config() keystone remove
+ [ ]
+ dbc_share=
+ dbc_package=
+ echo keystone
+ cut -d_ -f1
+ dbc_basepackage
+ 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=
+ dbc_globalconfi
+ dbc_packageconf
+ dbc_standard_
+ dbc_mysql_
+ dbc_pgsql_
+ dbc_sqlite_
+ dbc_all_
+ dbc_authenticat
+ dbc_remote_
+ dbc_fs_
+ [ -f /etc/dbconfig-
+ . /etc/dbconfig-
+ dbc_remember_
+ dbc_remote_
+ [ false = true ]
+ dbc_remote_
+ dbc_default_
+ dbc_set_
+ _dbc_debug dbc_set_
+ [ ]
+ [ ]
+ dbc_default_
+ dbc_db_
+ dbc_register_
+ [ ]
+ dbc_read_
+ _dbc_debug dbc_read_
+ [ ]
+ _dbc_sanity_check package packageconfig
+ [ 2 -ne 0 ]
+ [ -z keystone ]
+ shift
+ [ 1 -ne 0 ]
+ [ -z /etc/dbconfig-
+ shift
+ [ 0 -ne 0 ]
+ dbc_install=true
+ dbc_upgrade=true
+ [ -f /etc/dbconfig-
+ [ -z ]
+ dbc_dballow=
+ dbc_set_
+ _dbc_debug dbc_set_
+ [ ]
+ [ ]
+ dbc_default_
+ dbc_db_
+ dbc_register_
+ [ ]
+ echo mysql pgsql
+ grep -q
+ need_admin_pw=yup
+ [ remove = remove ]
+ [ ! ]
+ [ true != true ]
+ [ ]
+ db_fset keystone/
+ _db_cmd FSET keystone/
+ _db_internal_IFS=
+ IFS= dbconfig- remove seen false
+ printf %s\n FSET keystone/
+ IFS=
+ IFS= dbconfig- remove doesn't exist
read -r _db_internal_line
+ RET=10 keystone/
+ return 10