apt remove maas-region-controller causes broken DB state

Bug #1838247 reported by Peter Jose De Sousa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned
maas (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

When removing maas-region-controller (Selecting yes on both screens) and reinstalling the package causes a broken DB state.

See here for more information: https://pastebin.canonical.com/p/7jFqJ8J6Bd/

Steps to reproduce:

1. Install maas-region-controller package
2. Remove package using apt remove
3. Select yes on both screens
4. Try to reinstall maas-region-controller package with apt install.
5. apt should fail with an error message

The install should fail with an error message about user access denied.

Expected behaviour:

MAAS package to install without any issue

Actual:

maas-region-controller fails on apt install

Workaround:

dpkg --purge maas-region-controller

Cheers,

Peter

description: updated
Changed in maas:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in maas (Ubuntu):
status: New → Confirmed
Changed in maas:
importance: Low → Medium
milestone: none → 3.4.0
Changed in maas:
milestone: 3.4.0 → 3.5.0
Changed in maas (Ubuntu):
status: Confirmed → Invalid
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.