I cannot install mssql-server

I cannot install mssql-server because I have libldap-2.6.0-2 when I tried to remove it to downgrade it

makepkg -sirc                                                      ✔ 
==> Making package: mssql-server 15.0.4188.2-3 (24 ينا, 2022 02:49:39 م)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: libldap<=2.4.59
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> libldap<=2.4.59
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
:: removing libldap breaks dependency 'libldap' required by krb5
:: removing libldap breaks dependency 'libldap' required by lib32-libldap
:: removing libldap breaks dependency 'libldap' required by nfsidmap
:: removing libldap breaks dependency 'libldap' required by smbclient
:: removing libldap breaks dependency 'libldap' required by sudo

See the latest comment on the AUR page.

1 Like

Going by the comments @Yochanan mentioned you can try installing it with pamac:

pamac build  mssql-server

I personally use mariadb because it’s officially supported by Arch so non AUR and more or less the same as mysql (not sure about ms-sql though):

sudo pacman -S mariadb

i am using mssql because my university said so i am afriad form being different than what my uni says

Look into container, that would be the easiest to way to install mysql…

https://hub.docker.com/_/mysql/