我正在尝试在 Ubuntu 16.04 上安装 ms sql 驱动程序。以下是我运行的步骤:
$ curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 164 0 0:00:05 0:00:05 --:--:-- 231
OK
$ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79 100 79 0 0 130 0 --:--:-- --:--:-- --:--:-- 131
$ sudo apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://id.archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 https://packages.microsoft.com/ubuntu/16.04/prod xenial InRelease
Get:4 http://id.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:5 http://id.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 3s (86.0 kB/s)
Reading package lists... Done
$ sudo ACCEPT_EULA=Y apt-get install msodbcsql=13.1.4.0-1
The result :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package msodbcsql
以下是文件 mssql-release.list 的内容:
deb [arch=amd64] https://packages.microsoft.com/ubuntu/16.04/prod xenial main
我错过了什么步骤?
提前致谢