sloppy apt remove can crowbar product

Bug #1847502 reported by Bill Wear
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned

Bug Description

Doing an "apt remove maas" (instead of "apt autoremove maas") can sometimes lead to a situation where remove completes, but processes are still running. Reboot won't fix it, and then doing an "autoremove" completes successfully, but "apt-get purge maas*" hangs up complaining about running processes.

Surgically killing the highest postgresql process in the tree seems to clear this, so that user can follow codylab's recommended uninstall process here:

https://discourse.maas.io/t/reinstallation/343/2

This is intermittent for some reason, tried 3 times and encountered it once.

Directory /var/log/maas is present, but empty.
dpkg -l '*maas*'|cat reports "no packages found matching *maas*"

Created this bug by typing:

sudo apt remove maas

then doing:

ps -ef | grep maas.

(Editorial: Since this is an intermittent bug and admittedly sloppy use of apt, this could be fixed with doc if desired. I see the notes on not suggesting fixes, but I happen to be the doc guy for this product, so....)

Revision history for this message
Adam Collard (adam-collard) wrote :
Alberto Donato (ack)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
Changed in maas:
importance: Medium → Low
milestone: none → 3.5.0
Changed in maas:
milestone: 3.5.0 → 3.5.x
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.