首页 > 代码库 > 解决安装rpm时lib冲突:libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from ...
解决安装rpm时lib冲突:libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from ...
sudo rpm -ivh xxx.rpm -aid --force
[oracle@localhost Oracle]$ sudo rpm -ivh compat-libstdc++-7.3-2.96.118.i386.rpm compat-libstdc++-devel-7.3-2.96.118.i386.rpmwarning: compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] file /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from package compat-libstdc++-296-2.96-132.7.2 file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from package compat-libstdc++-296-2.96-132.7.2[oracle@localhost Oracle]$ sudo rpm -ivh compat-gcc-c++-7.3-2.96.118.i386.rpmwarning: compat-gcc-c++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60eerror: Failed dependencies: compat-libstdc++ = 7.3 is needed by compat-gcc-c++-7.3-2.96.118.i386 compat-libstdc++-devel = 7.3 is needed by compat-gcc-c++-7.3-2.96.118.i386[oracle@localhost Oracle]$ rpm -ivh compat-libstdc++-7.3-2.96.118.i386.rpm -aid --forcewarning: compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60eerror: can‘t create transaction lock[oracle@localhost Oracle]$[oracle@localhost Oracle]$ sudo rpm -ivh compat-libstdc++-7.3-2.96.118.i386.rpm -aid --forcewarning: compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] 1:compat-libstdc++ ########################################### [100%][oracle@localhost Oracle]$ sudo rpm -ivh compat-libstdc++-devel-7.3-2.96.118.i386.rpm -aid --forcewarning: compat-libstdc++-devel-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] 1:compat-libstdc++-devel ########################################### [100%][oracle@localhost Oracle]$ sudo rpm -ivh compat-gcc-c++-7.3-2.96.118.i386.rpmwarning: compat-gcc-c++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] 1:compat-gcc-c++ ########################################### [100%][oracle@localhost Oracle]$[oracle@localhost Oracle]$
另一解决途径:
rpm -e compat-libstdc++-296-2.96-138
[root@localhost administrator]# rpm -ivh compat-libstdc++-7.3-2.96.122.i386.rpmwarning: compat-libstdc++-7.3-2.96.122.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] file /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so from install of compat-libstdc++-7.3-2.96.122.i386 conflicts with file from package compat-libstdc++-296-2.96-138.i386[root@localhost administrator]# rpm -qa | grep -i compat-libstdc++compat-libstdc++-33-3.2.3-61compat-libstdc++-296-2.96-138[root@localhost administrator]# rpm -e compat-libstdc++-296-2.96-138[root@localhost administrator]# rpm -qa | grep -i compat-libstdc++compat-libstdc++-33-3.2.3-61[root@localhost administrator]# rpm -ivh compat-libstdc++-7.3-2.96.122.i386.rpmwarning: compat-libstdc++-7.3-2.96.122.i386.rpm: Header V3 DSA signature: NOKEY, key ID db42a60ePreparing... ########################################### [100%] 1:compat-libstdc++ ########################################### [100%][root@localhost administrator]#
解决安装rpm时lib冲突:libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from ...
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。