Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all articles
Browse latest Browse all 7696

Error installing SQL Server 2017 on RHEL 7 "msodbcsql-13.1.9.1-1.x86_64 conflicts unixODBC-utf16"

$
0
0
Error installing SQL Server 2017 on RHEL 7 "msodbcsql-13.1.9.1-1.x86_64 conflicts unixODBC-utf16"
1st, I tried instructions from --> https://packages.microsoft.com/en-us/sql/linux/sql-server-setup
2nd, I tried instructions from
https://blogs.msdn.microsoft.com/sqlnativeclient/2017/01/10/odbc-driver-13-1-for-linux-preview-1-released/
I got same error, here is the log from 2nd attempt:

#1. curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo
#2. yum remove unixODBC-utf16 unixODBC-utf16-devel       #to avoid conflicts
#3. ACCEPT_EULA=Y yum install msodbcsql-13.1.9.1-1 mssql-tools-14.0.6.0-1 unixODBC-devel

I got following error-messages:

No package unixODBC-devel available.
Resolving Dependencies
--> Running transaction check
---> Package msodbcsql.x86_64 0:13.1.9.1-1 will be installed
--> Processing Dependency: unixODBC >= 2.3.1 for package: msodbcsql-13.1.9.1-1.x86_64
--> Processing Dependency: libodbcinst.so.2()(64bit) for package: msodbcsql-13.1.9.1-1.x86_64
---> Package mssql-tools.x86_64 0:14.0.6.0-1 will be installed
--> Running transaction check
---> Package msodbcsql.x86_64 0:13.1.9.1-1 will be installed
--> Processing Dependency: unixODBC >= 2.3.1 for package: msodbcsql-13.1.9.1-1.x86_64
---> Package unixODBC-utf16.x86_64 0:2.3.1-1 will be installed
--> Processing Conflict: msodbcsql-13.1.9.1-1.x86_64 conflicts unixODBC-utf16
    =========================================================================
--> Finished Dependency Resolution
Error: msodbcsql conflicts with unixODBC-utf16-2.3.1-1.x86_64
Error: Package: msodbcsql-13.1.9.1-1.x86_64 (packages-microsoft-com-prod)
       Requires: unixODBC >= 2.3.1

Above is the log from the blog instructions - same error as 1st attempt using instructions from
https://packages.microsoft.com/en-us/sql/linux/sql-server-setup
whose instructions were:

#1. curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/msprod.repo
#2. yum remove unixODBC-utf16 unixODBC-utf16-devel #to avoid conflicts
#3. ACCEPT_EULA=Y yum install mssqltools unixODBC-devel

The difference is blog installs: msodbcsql-13.1.9.1-1 mssql-tools-14.0.6.0-1 unixODBC-devel
And  sql-server-setup  installs: mssqltools unixODBC-devel

Q#1 - I guess that mssql-tools includes msodbcsql - correct ?
Q#2 - is it necessary to specify the version#s or will it pick latest autoamtically
Q#3 - is there any advantage specifying the 2 or 3 items on the 1 yum install command
      vs using 3 separate yum install commands ?
Q#4 - Can you see the problem & tell me the solution ?Error installing SQL Server 2017 on RHEL 7 "msodbcsql-13.1.9.1-1.x86_64 conflicts unixODBC-utf16"

Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>