How to uninstall MAAS

9,487

Solution 1

Right maas uninstalling:

sudo apt-get purge maas ; sudo apt-get autoremove

Solution 2

The Best way is using :

sudo maas init

Are you sure you want to initialize again (yes/no) [default=no]?

yes

Mode (all/region+rack/region/rack/none) [default=all]?

none

This will disconnect your MAAS from the running database. Are you sure you want to disconnect the database (yes/no) [default=no]?

yes

MAAS and services should be stoped.


And to complete remove of bin:

snap remove maas maas-cli

Solution 3

To round out:

sudo apt-get purge maas maas-cli maas-cluster-controller  maas-common maas-dhcp maas-dns maas-region-controller python-django-maas python-maas-client python-maas-provisioningserver ; apt-get autoremove

Solution 4

I think the answer is yes that is the command to remove a program.

enter image description here

https://help.ubuntu.com/community/AptGet/Howto

It shouldn't remove any other dependancies, they are files other programs use.

Use purge to remove config files.

sudo apt-get purge maas
Share:
9,487

Related videos on Youtube

Dan Schaefer
Author by

Dan Schaefer

Updated on September 18, 2022

Comments

  • Dan Schaefer
    Dan Schaefer almost 2 years

    I accidentally selected the options to install MAAS on a fresh install of Ubuntu 12.04. In order to remove the server/service, is it just a matter of "sudo apt-get remove maas"?

  • Dan Schaefer
    Dan Schaefer almost 12 years
    Ok. Thank you. I wasn't sure if there were any other packages installed along with it. I.e. maas-*. FTR, purging ended up removing the user, group, vhost, and maas_longpoll user. I ran it after the remove command.
  • JSt
    JSt almost 12 years
    Do you want to accept your answer! It only takes a click.