The mongodb packages all have a provides line:
provides=(mongodb="$pkgver")
Should the mongodb dependency not still resolve due to that? At least, I had no issue building or using this package with the depends line as proposed.
Git Clone URL: | https://aur.archlinux.org/omada-controller.git (read-only, click to copy) |
---|---|
Package Base: | omada-controller |
Description: | Omada SDN Controller |
Upstream URL: | https://support.omadanetworks.com/us/product/omada-software-controller/?resourceType=download |
Licenses: | custom |
Conflicts: | omada-sdn-controller |
Submitter: | schard |
Maintainer: | Inxsible |
Last Packager: | Inxsible |
Votes: | 7 |
Popularity: | 0.192788 |
First Submitted: | 2020-02-06 18:14 (UTC) |
Last Updated: | 2025-04-04 20:47 (UTC) |
The mongodb packages all have a provides line:
provides=(mongodb="$pkgver")
Should the mongodb dependency not still resolve due to that? At least, I had no issue building or using this package with the depends line as proposed.
@archerdm, that is what the PKGBUILD was earlier when it comes to mongodb. However, there is no package called mongodb
in the official repos or the AUR which satisfies the >3 <5 dependency which is why a specific version had to be used in the PKGBUILD
Can we change the depends line to:
depends=('java-runtime>=8' 'java-jsvc' 'curl' 'mongodb>=3' 'mongodb<5')
This would not lock folks into a specific java or mongodb version.
@schard, that is still going to break installations for people that use mongodb3.x. Unfortunately, once mongodb upgraded to 6, there had to be 1 package that I needed to select for the dependency.
The hard dependency on mongodb44-bin breaks my installation, since I am using mongodb44 (self-compiled) from the AUR.
diff --git a/PKGBUILD b/PKGBUILD
index 768dd32..37dea0e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ _baseos='Linux_x64'
arch=('x86_64')
url='https://www.tp-link.com/us/support/download/omada-software-controller/#Controller_Software'
license=('custom')
-depends=('jre17-openjdk' 'java-jsvc' 'curl' 'mongodb44-bin')
+depends=('jre17-openjdk' 'java-jsvc' 'curl' 'mongodb>=4.4' 'mongodb<4.5')
makedepends=('git')
#provides=('sdn-controller')
conflicts=('omada-sdn-controller')
Upgraded to 5.9.31 and mandated use of mongodb44-bin
as mongodb aur package was updated to 6.X which is not supported by Omada Controller.
The package has broken dependencies, as mongodb aur package was updated to 6.x
Thanks all for commenting, It actually started working after 1 or 2 reboots, not sure what was going on here.
Updated to v5.9.9
@Xyrophobic, I would suggest you open up a support question on Manjaro forums.
Pinned Comments
Inxsible commented on 2023-12-01 15:01 (UTC) (edited on 2023-12-01 15:07 (UTC) by Inxsible)
@teJECSke Please stop flagging this package as out of date unless a new version is available on the link marked as Upstream URL on this page !!!