Uninstall Mongodb-org* from Ubunutu AWS instance

Ok, it’s 2AM and im about to through my computer out the window. To be clear im a complete noob who only knows enough to break things and i think i broke it…

In the process of upgrading my Unifi Cloud Controller, a step included a suggeted install of Mongodb. This install process has lead me down too many rabit trails and now i can’t even uninstall.

after following the community edition installation guide, reaching a point of major frustration, i now exist in a perpetual cycle of this:

ubuntu@ip-172-31-3-128:~$ sudo apt list --installed | grep mongo

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

mongo-tools/bionic,now 3.6.3-0ubuntu1 amd64 [installed,auto-removable]
mongodb-org/bionic,now 3.6.23 amd64 [installed]
mongodb-org-shell/bionic,now 3.6.23 amd64 [installed]
mongodb-server-core/bionic-updates,bionic-security,now 1:3.6.3-0ubuntu1.4 amd64 [installed,auto-removable]
ubuntu@ip-172-31-3-128:~$ sudo apt remove mongodb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'mongodb' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mongodb-org : Depends: mongodb-org-server but it is not going to be installed
               Depends: mongodb-org-mongos but it is not going to be installed
               Depends: mongodb-org-tools but it is not going to be installed
 unifi : Depends: mongodb-server (>= 2.4.10) but it is not going to be installed or
                  mongodb-10gen (>= 2.4.14) but it is not installable or
                  mongodb-org-server (>= 2.6.0) but it is not going to be installed
         Depends: mongodb-server (< 1:4.0.0) but it is not going to be installed or
                  mongodb-10gen (< 4.0.0) but it is not installable or
                  mongodb-org-server (< 4.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ubuntu@ip-172-31-3-128:~$ sudo apt purge mongodb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'mongodb' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mongodb-org : Depends: mongodb-org-server but it is not going to be installed
               Depends: mongodb-org-mongos but it is not going to be installed
               Depends: mongodb-org-tools but it is not going to be installed
 unifi : Depends: mongodb-server (>= 2.4.10) but it is not going to be installed or
                  mongodb-10gen (>= 2.4.14) but it is not installable or
                  mongodb-org-server (>= 2.6.0) but it is not going to be installed
         Depends: mongodb-server (< 1:4.0.0) but it is not going to be installed or
                  mongodb-10gen (< 4.0.0) but it is not installable or
                  mongodb-org-server (< 4.0.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
ubuntu@ip-172-31-3-128:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mongodb-org : Depends: mongodb-org-server but it is not installed
               Depends: mongodb-org-mongos but it is not installed
               Depends: mongodb-org-tools but it is not installed
 unifi : Depends: mongodb-server (>= 2.4.10) but it is not installed or
                  mongodb-10gen (>= 2.4.14) but it is not installable or
                  mongodb-org-server (>= 2.6.0) but it is not installed
         Depends: mongodb-server (< 1:4.0.0) but it is not installed or
                  mongodb-10gen (< 4.0.0) but it is not installable or
                  mongodb-org-server (< 4.0.0) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

im dying over here