SAP官方文档对基于Linux内核的操作系统的规定:
You have either of the following 64-bit operating systems: SUSE Linux Enterprise Server 11 or 12, or Redhat Enterprise Linux 6 or 7
而我的阿里云上装的是Ubuntu:
Linux version 4.4.0-142-generic (buildd@lgw01-amd64-033) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10) ) #168-Ubuntu SMP Wed Jan 16 21:00:45 UTC 2019
到底能不能成功安装呢?
首先遇到这个错误:
error: Failed dependencies:
/bin/sh is needed by com.sap.scc-ui-2.12.0-15.x86_64
libc.so.6()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libc.so.6(GLIBC_2.3.2)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libdl.so.2()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libgcc_s.so.1()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libgcc_s.so.1(GCC_3.0)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libm.so.6()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libpthread.so.0()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
librt.so.1()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libstdc++.so.6()(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libstdc++.so.6(CXXABI_1.3)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libstdc++.so.6(CXXABI_1.3.1)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by com.sap.scc-ui-2.12.0-15.x86_64
https://stackoverflow.com/questions/3959040/rpm-installation-fails-due-to-depencency-bin-sh-not-found
改成用alien安装:
发现dpkg-deb占用了100%的CPU:
dpkg-deb:是Debian Linux下的软件包管理工具,它可以对软件包执行打包和解包操作以及提供软件包信息。
仍然会报错:
Setting up com.sap.scc-ui (2.12.0-16) ...
chown: invalid user: ‘sccadmin:sccgroup’
Unable to install at /usr/share/perl5/Alien/Package/Deb.pm line 97, line 551.
find com.sap.scc-ui-2.12.0 -type d -exec chmod 755 {} ;
rm -rf com.sap.scc-ui-2.12.0