I got this same crash when trying to uninstall drupal.  Here's what I got at 
the terminal.  
$ sudo aptitude purge drupal6 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following packages will be REMOVED:
  dbconfig-common{u} drupal6{p} exim4{u} libt1-5{u} php5-gd{u} 
wwwconfig-common{u} 
0 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 7,725kB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 239222 files and directories currently installed.)
Removing drupal6 ...
dbconfig-common: dumping mysql database drupal6 to 
/var/tmp/drupal6.drupal6.2010-02-12-23.34.mysql.J2XPRl.
error encountered dumping database:
mysqldump: Got error: 1049: Unknown database 'drupal6' when selecting the 
database
dbconfig-common: drupal6 remove: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing drupal6 (--purge):
 subprocess installed pre-removal script returned error exit status 1
dbconfig-common: flushing administrative password
Errors were encountered while processing:
 drupal6
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Reading package lists... Done             
Building dependency tree       
Reading state information... Done
Reading extended state information       
Initializing package states... Done
Writing extended state information... Done

-- 
package drupal6 6.10-1 failed to install/upgrade: underproces post-installation 
script returnerede afslutningsstatus 1
https://bugs.launchpad.net/bugs/355142
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to