uninstall keystone error

Bug #948719 reported by Peng Yong
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
keystone (Ubuntu)
Fix Released
High
Unassigned

Bug Description

# dpkg -r keystone
(Reading database ... 58495 files and directories currently installed.)
Removing keystone ...
dpkg: error processing keystone (--remove):
 subprocess installed pre-removal script returned error exit status 10
postinst called with unknown argument `abort-remove'
Errors were encountered while processing:
 keystone

# aptitude show keystone
Package: keystone
New: yes
State: installed
Automatically installed: no
Version: 2012.1~e4-0ubuntu2

Dolph Mathews (dolph)
affects: keystone → keystone (Ubuntu)
Revision history for this message
James Page (james-page) wrote :

Confirmed:

The following packages will be REMOVED:
  keystone
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 106 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 19524 files and directories currently installed.)
Removing keystone ...
dpkg: error processing keystone (--remove):
 subprocess installed pre-removal script returned error exit status 10
postinst called with unknown argument `abort-remove'
Errors were encountered while processing:
 keystone
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in keystone (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :
Download full text (4.6 KiB)

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_co...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package keystone - 2012.1~rc1-0ubuntu1

---------------
keystone (2012.1~rc1-0ubuntu1) precise; urgency=low

  [Chuck Short]
  * New usptream version.
  * debian/control: Add python-iso8601 as a depends.
  * debian/patches/fix-ubuntu-tests.patch: Disable git checkout on some
    of the tests.
  * dropped swift as a depends.

  [Adam Gandelman]
  * debian/patches/sql_connection.patch: Refresh
  * debian/logging.conf: Update and enable file logging (LP: #959610)
  * debian/keystone.prerm: Only attempt to cleanup database if it was
    configured during installation. (LP: #948719)
  * debian/rules: Fix doc builds + clean (LP: #956019)
  * debian/control: Add python-{nova, swift} as Build-Depends, required
    for doc building
  * debian/rules, debian/tests/test_overrides.conf: Setup a proper environment
    for unit testing
 -- Chuck Short <email address hidden> Mon, 26 Mar 2012 13:41:45 -0400

Changed in keystone (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.