[Linuxservice] [Yum] [Problem] Addressing dependency issues on Fedora 9

Source: Internet
Author: User

Summary: Installing an EMC client on a 32bit fedora9 encounters an unresolved dependency problem


Detail

RPM Installation:

[Email protected] tmp]# RPM-IVH lgtoclnt-8.2.3.1-1.i686.rpm error:failed dependencies:/bin/ksh are needed by lgtoclnt-8. 2.3.1-1.i686libstdc++.so.5 is needed by lgtoclnt-8.2.3.1-1.i686libstdc++.so.5 (cxxabi_1.2) are needed by Lgtoclnt-8.2.3.1-1.i686libstdc++.so.5 (glibcpp_3.2) is needed by lgtoclnt-8.2.3.1-1.i686libstdc++.so.5 (GLIBCPP_ 3.2.2) is needed by Lgtoclnt-8.2.3.1-1.i686[[email protected] tmp]#

Yum Installation:

[[email protected] tmp]# yum install lgtoclnt-8.2.3.1-1.i686.rpmlocal                                                       | 2.4 kB      00:00    primary.sqlite.bz2                                         | 1.4 mb      01:46     Setting up Install  processparsing package install argumentsexamining lgtoclnt-8.2.3.1-1.i686.rpm:  Lgtoclnt-8.2.3.1-1.i686marking lgtoclnt-8.2.3.1-1.i686.rpm to be installedresolving dependencies--> running  Transaction check---> Package lgtoclnt.i686 0:8.2.3.1-1 set to be  updated--> processing dependency: /bin/ksh for package: lgtoclnt-->  Processing dependency: libstdc++.so.5 for package: lgtoclnt--> processing  dependency: libstdc++.so.5 (cxxabi_1.2)  for package: lgtoclnt--> processing  dependency: libstdc++.so.5 (glibcpp_3.2)  for package: lgtoclnt--> processing  dependency: libstdc++.so.5 (glibcpp_3.2.2)  for package: lgtoclnt--> finished  dependency resolutionlgtoclnt-8.2.3.1-1.i686 from lgtoclnt-8.2.3.1-1.i686.rpm has  depsolving problems  --> missing dependency: libstdc++.so.5 is  needed by package lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) lgtoclnt-8.2.3.1-1.i686 from  lgtoclnt-8.2.3.1-1.i686.rpm has depsolving problems  --> missing  Dependency: libstdc++.so.5 (glibcpp_3.2.2)  is needed by package  lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) lgtoclnt-8.2.3.1-1.i686 from  lgtoclnt-8.2.3.1-1.i686.rpm has depsolving problems  --> missing  Dependency: libstdc++.so.5 (glibcpp_3.2)  is needed by package  lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) lgtoclnt-8.2.3.1-1.i686 from  lgtoclnt-8.2.3.1-1.i686.rpm has depsolving problems  --> missing  Dependency: libstdc++.so.5 (cxxabi_1.2)  is needed by package  lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) lgtoclnt-8.2.3.1-1.i686 from  Lgtoclnt-8.2.3.1-1.i686.rpm has depsolving problems  --> missing dependency: /bin/ksh  is needed by package lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) Error:  Missing Dependency: libstdc++.so.5 is needed by package  lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) error: missing dependency: libstdc++. So.5 (glibcpp_3.2.2)  is needed by package lgtoclnt-8.2.3.1-1.i686  ( lgtoclnt-8.2.3.1-1.i686.rpm) error: missing dependency: libstdc++.so.5 (CXXABI_1.2)  is  needed by package lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) Error: Missing  Dependency: /bin/ksh is needed by package lgtoclnt-8.2.3.1-1.i686  ( lgtoclnt-8.2.3.1-1.i686.rpm) error: missing dependency: libstdc++.so.5 (GLIBCPP_3.2)  is  needed by package lgtoclnt-8.2.3.1-1.i686  (lgtoclnt-8.2.3.1-1.i686.rpm) 


This is my repo file for Yum:

[Email protected] tmp]# Cat/etc/yum.repos.d/f9.repo [local]name=local-$basearchbaseurl =http://209.132.181.24/pub/ Archive/fedora/linux/releases/9/fedora/i386/osenabled=1gpgcheck=0you have new mail in/var/spool/mail/root[[email Protected] tmp]#


The feeling is that the version is too low, using Federa22 's repo

[email protected] yum.repos.d]# cat F22.repo [local]name=local-$basearchbaseurl =http://dl.fedoraproject.org/pub/  Fedora/linux/releases/22/server/i386/os/enabled=1gpgcheck=0[[email protected] yum.repos.d]# Lsf22.repo F9.repo.bak Rhel-source.repobak[[email protected] yum.repos.d]#


The problem of checksum appears

[[Email protected] yum.repos.d]# yum clean allcleaning up everything[[email  protected] yum.repos.d]# yum makecachelocal                                                       | 3.6 kb     00:00     8d3e096116811eb96a798a91e79341f288756ac6ac258b93859e83f6 | 1.1 MB      00:15     http://dl.fedoraproject.org/pub/fedora/linux/ releases/22/server/i386/os/repodata/ 8D3E096116811EB96A798A91E79341F288756AC6AC258B93859E83F68FC569D1-FILELISTS.SQLITE.XZ: [ERRNO -3]  error performing checksumtrying other mirror.79ef992c9eb1a8bcf08503cc6b31aba89601273622f98b941e7a7748 | 1.4 mb     00:17      http://dl.fedoraproject.org/pub/fedora/linux/releases/22/server/i386/os/repodata/ 79ef992c9eb1a8bcf08503cc6b31aba89601273622f98b941e7a77488efb4d69-primary.sqlite.xz: [errno -3]  error performing checksumtrying other  mirror.8d3e096116811eb96a798a91e79341f288756ac6ac258b93859e83f6 | 1.1 mb      00:15     http://dl.fedoraproject.org/pub/fedora/linux/releases/22/server /i386/os/repodata/8d3e096116811eb96a798a91e79341f288756ac6ac258b93859e83f68fc569d1-filelists.sqlite.xz: [ errno -3] error performing checksumtrying other  mirror.7e7f49a5afcf7d28993a6a6b23fd66c0578a7528c24644706b3a2a20 | 620 kb      00:05     http://dl.fedoraproject.org/pub/fedora/linux/releases/22/server /i386/os/repodata/7e7f49a5afcf7d28993a6a6b23fd66c0578a7528c24644706b3a2a20ae9eadac-other.sqlite.xz: [errno -3] error  performing checksumtrying other mirror. Metadata cache createdyou have new mail in /var/spool/mail/root[[email  protected] yum.repos.d]#


Check, as if the encryption method is different, you need to use the Createrepo command to specify the encryption method, but the machine does not have this command createrepo-s sha *******


Rpmforge not to go, only from the rpmfind to find bags.


[email protected] tmp]# ls *.rpmcompat-libstdc++-33-3.2.3-68.12.i686.rpm ksh-20120801-24.fc22.i686.rpm Lgtoclnt-8.2.3.1-1.i686.rpm[[email protected] tmp]# RPM-IVH compat-libstdc++-33-3.2.3-68.12.i686.rpm Warning: Compat-libstdc++-33-3.2.3-68.12.i686.rpm:header V3 rsa/sha256 Signature:nokey, key ID 8e1431d5error:failed Dependencies:rpmlib (filedigests) <= 4.6.0-1 is needed by Compat-libstdc++-33-3.2.3-68.12.i686rpmlib (PayloadIsXz) <= 5.2-1 is needed by Compat-libstdc++-33-3.2.3-68.12.i686[[email protected] tmp]#


Less Rpmlib This package, Rpmfind does not have this package, intends to upgrade rpm, under a rpm for federa22-i386

[[email protected] tmp]# rpm -ivh rpm-4.12.0.1-9.fc22.i686.rpm warning:  Rpm-4.12.0.1-9.fc22.i686.rpm: header v3 rsa/sha256 signature: nokey, key id  8e1431d5error: Failed dependencies:/usr/bin/db_stat is needed by  Rpm-4.12.0.1-9.fc22.i686curl is needed by rpm-4.12.0.1-9.fc22.i686libarchive.so.13 is  needed by rpm-4.12.0.1-9.fc22.i686libdb-5.3.so is needed by  Rpm-4.12.0.1-9.fc22.i686liblua-5.3.so is needed by rpm-4.12.0.1-9.fc22.i686liblzma.so.5  is needed by rpm-4.12.0.1-9.fc22.i686librpm.so.3 is needed by  Rpm-4.12.0.1-9.fc22.i686librpmio.so.3 is needed by rpm-4.12.0.1-9.fc22.i686popt (X86-32)  >= 1.10.2.1 is needed by rpm-4.12.0.1-9.fc22.i686rpmlib (FileDigests)   <= 4.6.0-1 is needed by  Rpm-4.12.0.1-9.fc22.i686rpmlib (PAYLOADISXZ)  <= 5.2-1 is needed by  rpm-4.12.0.1-9.fc22.i686[[email protected] tmp]#


This can make me how to be good ....


Finish the afternoon and continue the study.


OK, we change the idea, since the FEDORA22 version can not be a yum source, then we use a lower.


Find the archive site for Fedora Http://archives.fedoraproject.org/pub


We start from FEDORA10, 10 version of the source can be, 11 of the can not, repo file as follows

[email protected] yum.repos.d]# cat f10.repo.bck [local10]name=local10-$basearchbaseurl =http:// Archives.fedoraproject.org/pub/archive/fedora/linux/releases/10/fedora/i386/osenabled=1gpgcheck=0[[email Protected] yum.repos.d]#


Upgrade RPM command, yum update rpm, brush past, do not post, upgrade to 4.6, but install Ksh and compat-libstdc or not.

[Email protected] yum.repos.d]# rpm--versionrpm version 4.6.0-rc1

Suddenly thought fedora10 should correspond to the 5 version of CentOS, decisive change Centos5 source

[email protected] yum.repos.d]# cat Rhel-source.repo [base]name=centos-5-Basebaseurl=http://ftp.sjtu.edu.cn/centos /5/os/$basearch/gpgcheck=0gpgkey=http://mirror.centos.org/centos/rpm-gpg-key-centos5[[email protected] yum.repos.d]#

Installing Ksh

dependencies resolved=============================================================================  package                  arch       version           repository        size ==================================== =========================================installing: ksh                      i386        20100621-20.el5  base               1.2 mtransaction summary==================================================== =========================install      1 package (s)         &nbsP; update       0 package (s)           remove       0 package (s)      &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;TOTAL&NBSP;DOWNLOAD&NBSP;SIZE:&NBSP;1.2&NBSP;MIS&NBSP;THIS&NBSP;OK&NBSP;[Y/N]:  ydownloading packages: (1/1): ksh-20100621-20.el5.i386.rpm                       | 1.2  mb     00:01     running rpm_check_debugrunning  transaction testfinished transaction testtransaction test succeededrunning  Transaction  Installing: ksh                           ############## ########### [1/1] installed: ksh.i386 0:20100621-20.el5complete! [[email protected] yum.repos.d]#

Installing COMPAT-LIBSTDC

Yum Install compat-libstdc++

Finally install the EMC client


[Email protected] tmp]# RPM-IVH lgtoclnt-8.2.3.1-1.i686.rpm

Preparing ... ########################################### [100%]

1:LGTOCLNT ########################################### [100%]

You have new mail in/var/spool/mail/root

[Email protected] tmp]# Rpm-qa|grep Lgtoc

lgtoclnt-8.2.3.1-1.i686

[Email protected] tmp]#


Get!

[Linuxservice] [Yum] [Problem] Addressing dependency issues on Fedora 9

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.