Hey all,
The title is fairly self-explanatory. Trying to install unifi controller on Ubuntu 22 and I keep running into the same issue, and I'm not sure where to go with it. I've installed all of the dependencies, but I'm having issues with MongoDB, and the best advice I can find is for Ubuntu 18. Can anyone guide me forward with this? Terminal output below.
unifi@unifi-Macmini:~/Downloads$ sudo apt-get update && sudo apt-get install unifi -y
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:2 https://dl.ui.com/unifi/debian stable InRelease
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 InRelease
Ign:7 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 InRelease
Hit:8 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 Release
Hit:9 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 Release
Reading package lists... Done
W: https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/Release.gpg: Key is stored in legacy >trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
unifi : Depends: mongodb-server (< 1:5.0.0) but it is not installable or
mongodb-10gen (< 5.0.0) but it is not installable or
mongodb-org-server (< 5.0.0) but 7.0.2 is to be installed
E: Unable to correct problems, you have held broken packages.
I followed MongoDB’s community install guide, but I can’t figure out what I’m doing wrong.
I wish I had half of the wallet that 45 drives thinks I do.