Cannot uninstall keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
While trying to uninstall keystone (to start from a clean slate), synaptic complains:
(Reading database ... 304179 files and directories currently installed.)
Removing keystone ...
dpkg: error processing keystone (--remove):
subprocess installed pre-removal script returned error exit status 10
No apport report written because MaxReports is reached already
Errors were encountered while processing:
keystone
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Trying to force a re-installation instead, it still fails with:
Setting up keystone (2012.1~
Traceback (most recent call last):
File "/usr/bin/
cli.
File "/usr/lib/
return run(cmd, (args[:1] + args[2:]))
File "/usr/lib/
return CMDS[cmd]
File "/usr/lib/
return self.main()
File "/usr/lib/
driver = utils.import_
File "/usr/lib/
__import_
TypeError: __import__() argument 1 must be string, not None
dpkg: error processing keystone (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
keystone
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Hm, yeah, calling keystone-manage in postrm... That's probably not going to work (hint: *post* removal scripts shouldn't be referencing things in the package)