i want to install mssql-server in the centos 7 server ... i did the procedure before on other server before how ever for this one i could not able to install mssql-tools .. the mssql server is installed and works fine.
what i am doing is i config the repo
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
and then install
sudo yum install -y mssql-tools unixODBC-devel
the unixODBC-devel is fine. how ever i get this output
Loaded plugins: fastestmirror
Repository packages-microsoft-com-prod is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: mirror.docker.ru
* epel: mirror.telepoint.bg
* extras: mirror.docker.ru
* updates: mirror.corbina.net
No package mssql-tools available.
Error: Nothing to do
i searched on the part of message that says
> Repository packages-microsoft-com-prod is listed more than once in the
> configuration
however i am not sure but i think i got the same in previous server and every thing installed fine. any way i did some procedure suggested for that and still i get the same message.
this is my yum.repos.d directory
CentOS-Base.repo CentOS-Media.repo epel.repo mssql-server.repo
CentOS-CR.repo CentOS-Sources.repo epel-testing.repo
CentOS-Debuginfo.repo CentOS-Vault.repo microsoft-prod.repo
CentOS-fasttrack.repo CentOS-x86_64-kernel.repo msprod.repo
msprod.repo is the one.
Asked by Rouzbeh Zarandi
(101 rep)
Oct 15, 2021, 05:55 PM
Last activity: Jul 2, 2025, 01:09 PM
Last activity: Jul 2, 2025, 01:09 PM