Resolve Lib conflict when installing RPM: libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from ...

Source: Internet
Author: User

sudo rpm-ivh xxx.rpm -aid--force

[Email protected] oracle]$sudoRPM-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 ... ####################################### #### [ -%]        file/usr/lib/libstdc++-2-libc6.1-1-2.9.0. So fromInstallof compat-libstdc++-7.3-2.96.118 conflicts with fileFrom Package compat-libstdc++-296-2.96-132.7.2        file/usr/lib/libstdc++-3-libc6.2-2-2.10.0. So fromInstallof compat-libstdc++-7.3-2.96.118 conflicts with fileFrom Package compat-libstdc++-296-2.96-132.7.2[email protected] oracle]$sudoRPM-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.3is needed by compat-GCC-c++-7.3-2.96.118. i386 Compat-libstdc++-devel =7.3is needed by compat-GCC-c++-7.3-2.96.118. i386[email protected] oracle]$ rpm-IVH compat-libstdc++-7.3-2.96.118. i386.rpm-aid--Force  Warning:compat-libstdc++-7.3-2.96.118. i386.rpm:V3 DSA Signature:nokey, key ID Db42a60eerror:can't Create transaction lock[[email protected] oracle]$[[email protected] oracle]$ sudo RPM-IVH compat-libstdc++-7.3-2.96.118. i386.rpm-aid--Force  Warning:compat-libstdc++-7.3-2.96.118. i386.rpm:V3 DSA Signature:nokey, key ID db42a60epreparing ... ####################################### #### [ -%]   1: compat-libstdc++ ########################################### [ -%][[email protected] oracle]$sudoRPM-IVH compat-libstdc++-devel-7.3-2.96.118. i386.rpm-aid--Force  Warning:compat-libstdc++-devel-7.3-2.96.118. i386.rpm:V3 DSA Signature:nokey, key ID db42a60epreparing ... ###################################### ##### [ -%]   1: Compat-libstdc++-devel ########################################### [ -%][[email protected] oracle]$sudoRPM-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 ... ####################################### #### [ -%]   1: compat-GCC-c++ ########################################### [ -%][[email protected] oracle]$[[email protected] oracle]$

Another way to solve this problem:

Rpm-e compat-libstdc++-296-2.96-138
[Email protected] 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 ... ################################ ########### [ -%]        file/usr/lib/libstdc++-3-libc6.2-2-2.10.0. So fromInstallof compat-LIBSTDC++-7.3-2.96.122. i386 conflicts withfileFrom Package compat-libstdc++-296-2. the-138. I386[[email protected] administrator]# rpm-qa |grep-I. compat-libstdc++Compat-libstdc++- --3.2.3- ACompat-libstdc++-296-2.96-138 [email protected] administrator]# rpm -e compat-libstdc++-296-2.96-138 [email protected] administrator]# rpm-qa |grep-I. compat-libstdc++Compat-libstdc++- --3.2.3- A[email protected] 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 ... ################################ ########### [ -%]   1: compat-libstdc++ ########################################### [ -%][[email protected] administrator]#

Resolve Lib conflict when installing RPM: libstdc++-2-libc6.1-1-2.9.0.so from install of compat-libstdc++-7.3-2.96.118 conflicts with file from ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.