I attempted to fix this, but haven't gotten anywhere. I am seeing the
following errors:
Removing maas-region-controller (1.8.0~beta2+bzr3777-0ubuntu1) ...
* Stopping web server apache2
*
dbconfig-common: dumping pgsql database maasdb to
/var/tmp/maas-region-controller.maasdb.2015-04-06-23.29.pgsql.AhZK0m.
dbconfig-common: dropping pgsql database maasdb.
dropping database maasdb: does not exist.
dbconfig-common: revoking privileges for user maas on maasdb.
revoking access to database maasdb from maas@localhost: failed.
However, I found a workaround:
$ sudo -u postgres dropdb maasdb
You can verify that the maasdb database has been dropped by executing:
$ sudo -u postgres psql
I tried adding "sudo -u postgres dropdb maasdb" to the postrm packaging
script for maas-region-controller, but that didn't make a difference.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1044559
Title:
apt-get remove maas --purge while maas is running prevents full
database purge
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1044559/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs