bacula won't uninstall

Bug #890917 reported by SEWilco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bacula (Ubuntu)
New
Medium
Unassigned

Bug Description

Started to test bacula (sudo apt-get install bacula) but misplaced the mySQL password. Aborted the installation process. Now can't uninstall bacula with either remove nor purge.

Ubuntu 10.04.3 LTS

$ sudo apt-get remove bacula
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package bacula is not installed, so not removed
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.32-32 linux-headers-2.6.32-28 linux-headers-2.6.32-32-generic-pae
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up bacula-director-mysql (5.0.1-1ubuntu1) ...
dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf
Not replacing deleted config file /etc/dbconfig-common/bacula-director-mysql.conf
sanity check failed for dbc_dbuser.
error encountered creating user:
No database user specified.
dbconfig-common: bacula-director-mysql configure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing bacula-director-mysql (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-server:
 bacula-server depends on bacula-director-mysql (>= 5.0.1-1ubuntu1) | bacula-director; however:
  Package bacula-director-mysql is not configured yet.
  Package bacula-director is not installed.
  Package bacula-director-mysql which provides bacula-director is not configured yet.
dpkg: error processing bacula-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 bacula-director-mysql
 bacula-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in bacula (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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