removing (including with --purge) fails on pg script

Bug #1252768 reported by Tycho Andersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
High
Unassigned
maas (Ubuntu)
New
Undecided
Unassigned

Bug Description

After experiencing bug #1252510, I tried to apt-get purge *maas*, which failed to uninstall maas-region-controller as follows:

smitten:~$ sudo dpkg --purge --force-all maas-region-controller
(Reading database ... 391242 files and directories currently installed.)
Removing maas-region-controller ...
 * Stopping web server apache2 *
dpkg: error processing maas-region-controller (--purge):
 subprocess installed pre-removal script returned error exit status 10
Errors were encountered while processing:
 maas-region-controller

The line it failed on was the PG helper:

dbc_go maas-region-controller $@

when I commented that out, everything worked fine.

Revision history for this message
Mike Pontillo (mpontillo) wrote :

Note: If you try to purge the database, it actually fails in this case, and the database is left intact.

See comments on bug #1044559.

Changed in maas:
importance: Undecided → High
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.