AWS CentOS上的SQL安装失败

时间:2018-02-10 14:40:57

标签: sql sql-server linux amazon-web-services centos

我收到以下错误,但是当我尝试安装缺少的依赖项时,它会说它已经安装(openssl)或者这样的包不存在。

这是我跟随的步骤 - https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-microsoft-sql-server-ms-sql-rhel-centos-ubuntu-evaluation-version.html

我该怎么做才能克服这个错误?

Loaded plugins: fastestmirror, presto, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.fdcservers.net
 * epel: mirror.steadfast.net
 * extras: repo.us.bigstepcloud.com
 * updates: linux.cc.lehigh.edu
Resolving Dependencies
--> Running transaction check
---> Package mssql-server.x86_64 0:14.0.900.75-1 will be installed
--> Processing Dependency: openssl >= 1:1.0.1 for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: numactl-libs for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: gdb for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.900.75-1.x86_64
--> Running transaction check
---> Package gdb.x86_64 0:7.2-92.el6 will be installed
---> Package libsss_nss_idmap.x86_64 0:1.13.3-57.el6_9 will be installed
---> Package mssql-server.x86_64 0:14.0.900.75-1 will be installed
--> Processing Dependency: openssl >= 1:1.0.1 for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: numactl-libs for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd for package: mssql-server-14.0.900.75-1.x86_64
--> Processing Dependency: systemd-units for package: mssql-server-14.0.900.75-1.x86_64
--> Finished Dependency Resolution
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
           Requires: numactl-libs
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
           Requires: openssl >= 1:1.0.1
           Installed: openssl-1.0.1e-57.el6.x86_64 (@anaconda-CentOS-201703281317.x86_64/6.9)
               openssl = 1.0.1e-57.el6
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
           Requires: systemd-units
Error: Package: mssql-server-14.0.900.75-1.x86_64 (packages-microsoft-com-mssql-server)
           Requires: systemd
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

1 个答案:

答案 0 :(得分:0)

可能您正在尝试在CentOS6服务器上安装为RHEL7构建的软件包。 MsSql服务器仅适用于RHEL7。