removing (including with --purge) fails on pg script
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-
smitten:~$ sudo dpkg --purge --force-all maas-region-
(Reading database ... 391242 files and directories currently installed.)
Removing maas-region-
* Stopping web server apache2 *
dpkg: error processing maas-region-
subprocess installed pre-removal script returned error exit status 10
Errors were encountered while processing:
maas-region-
The line it failed on was the PG helper:
dbc_go maas-region-
when I commented that out, everything worked fine.
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.