Ubuntu 16.06 Unable to locate package msodbcsql

1.3k Views Asked by At

I'm trying to install the Microsoft ODBC Driver for SQL Server on my Ubuntu 16.04. I've already done

curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list

and

apt-get update

and it looks correct. Now I'm doing ACCEPT_EULA=Y apt-get install msodbcsql17 and I get this message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package msodbcsql17

In general for last few hours I'm doing my best to connect from PHP to MSSQL Server but something is wrong and I'm running out of ideal what could be wrong. I check a lot of tutorials and in each of them it's working. I'm sure that I missed something, but I don't know what. Could you please help me with this? Thanks in Advance

0

There are 0 best solutions below