我试图在我的从节点中安装 devtoolset-8,但没有运行 centos7 的活动互联网连接。我正在使用所有需要的 .rpm 包作为依赖项。
在通过 rpm -ivh * 安装期间,我得到
[root@node3 install]# rpm -ivh *
warning: dejagnu-1.5.1-3.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
warning: devtoolset-8-8.0-2.el7.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID f2ee9d55: NOKEY
warning: package devtoolset-8-8.0-2.el7.x86_64 was already added, replacing with devtoolset-8-8.1-1.el7.x86_64
warning: package devtoolset-8-build-8.0-2.bs1.el7.x86_64 was already added, replacing with devtoolset-8-build-8.0-2.el7.x86_64
warning: package devtoolset-8-build-8.0-2.el7.x86_64 was already added, replacing with devtoolset-8-build-8.1-1.el7.x86_64
warning: package devtoolset-8-8.1-1.el7.x86_64 was already added, skipping devtoolset-8-dockerfiles-8.0-2.bs1.el7.x86_64
warning: package devtoolset-8-8.1-1.el7.x86_64 was already added, skipping devtoolset-8-dockerfiles-8.0-2.el7.x86_64
warning: package devtoolset-8-perftools-8.0-2.bs1.el7.x86_64 was already added, replacing with devtoolset-8-perftools-8.0-2.el7.x86_64
warning: package devtoolset-8-perftools-8.0-2.el7.x86_64 was already added, replacing with devtoolset-8-perftools-8.1-1.el7.x86_64
warning: package devtoolset-8-runtime-8.0-2.bs1.el7.x86_64 was already added, replacing with devtoolset-8-runtime-8.0-2.el7.x86_64
warning: package devtoolset-8-runtime-8.0-2.el7.x86_64 was already added, replacing with devtoolset-8-runtime-8.1-1.el7.x86_64
warning: package devtoolset-8-toolchain-8.0-2.bs1.el7.x86_64 was already added, replacing with devtoolset-8-toolchain-8.0-2.el7.x86_64
warning: package devtoolset-8-toolchain-8.0-2.el7.x86_64 was already added, replacing with devtoolset-8-toolchain-8.1-1.el7.x86_64
error: Failed dependencies:
/usr/lib/libc.so is needed by devtoolset-8-systemtap-testsuite-3.3-1.el7.x86_64
locate libc.so 的输出如下
[root@node3 install]# locate libc.so
/opt/intel/advisor_2018.1.1.535164/lib32/pinruntime/glibc/libc.so.6
/opt/intel/advisor_2018.1.1.535164/lib64/pinruntime/glibc/libc.so.6
/usr/lib/libc.so
/usr/lib/libc.so.6
/usr/lib/x86_64-redhat-linux6E/lib64/libc.so
/usr/lib64/libc.so
/usr/lib64/libc.so.6
[root@node3 install]#
lib和lib64 libc.so的详细信息如下
[root@node3 install]# ll /usr/lib64/libc.so*
-rw-r--r--. 1 root root 253 Nov 5 2016 /usr/lib64/libc.so
lrwxrwxrwx. 1 root root 12 Oct 13 2017 /usr/lib64/libc.so.6 -> libc-2.17.so
[root@node3 install]# ll /usr/lib/libc.so*
lrwxrwxrwx 1 root root 18 Dec 16 16:45 /usr/lib/libc.so -> /usr/lib64/libc.so
lrwxrwxrwx 1 root root 23 Dec 16 17:35 /usr/lib/libc.so.6 -> /usr/lib64/libc-2.17.so
我需要更新 gcc ,唯一的方法是通过 devtoolset 找到它。请提出任何不需要主动互联网连接的可能解决方案。谢谢