• Linux下,如何安装有互相依赖关系的RPM包[转]


    Linux下,如何安装有互相依赖关系的RPM包

    linux上安装oracle前需要安装几个RPM包,在安装时我发现有两个RPM是有依赖关系的,如下示例:

    [root@bogon snmp]# rpm -ivh elfutils-devel-0.125-3.el5.i386.rpm

    warning: elfutils-devel-0.125-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

    error: Failed dependencies:

           elfutils-devel-static = 0.125-3.el5 is needed by elfutils-devel-0.125-3.el5.i386

           elfutils-libelf-devel = 0.125-3.el5 is needed by elfutils-devel-0.125-3.el5.i386

     

    [root@bogon snmp]# rpm -ivh elfutils-devel-static-0.125-3.el5.i386.rpm

    warning: elfutils-devel-static-0.125-3.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

    error: Failed dependencies:

           elfutils-devel = 0.125-3.el5 is needed by elfutils-devel-static-0.125-3.el5.i386

           elfutils-libelf-devel-static = 0.125-3.el5 is needed by elfutils-devel-static-0.125-3.el5.i386[/code]

     

    安装elfutils-devel-0.125-3.el5.i386.rpm 的时候提示需要elfutils-devel-static ,但是安装elfutils-devel-static-0.125-3.el5.i386.rpm 的时候又需要elfutils-devel,如何解决呢?

     

    其实,这里有个小窍门,将这两个RPM包一同安装就可以了。

     

    rpm -ivh elfutils-devel-0.125-3.el5.i386.rpm elfutils-devel-static-0.125-3.el5.i386.rpm

    http://hi.baidu.com/maojc/blog/item/7dfa2da8df8161b6ca130c64.html

  • 相关阅读:
    Kali,CentOS 配置静态网络与开启SSH服务【附VMware中配置】
    httpHelper请求辅助类
    请求后的数据处理
    Viewcontroller基类
    上拉下拉基类
    获取cell中的button在整个屏幕上的位置
    Object-C反射读取实体属性和值
    xcode在代码中查找中文
    编写xcode5插件需要增加DVTPlugInCompatibilityUUIDs
    c# 扩展方法
  • 原文地址:https://www.cnblogs.com/saptechnique/p/2356002.html
Copyright © 2020-2023  润新知