zoukankan      html  css  js  c++  java
  • 在OEL 5.4 32bit上使用yum install命令遇到的问题

    在OEL 5.4 32bit上使用yum install命令遇到的问题

    [root@localhost yum.repos.d]# yum install elfutils-libelf-devel-static*
    Loaded plugins: security
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package elfutils-libelf-devel-static.i386 0:0.137-3.el5 set to be updated
    --> Processing Dependency: elfutils-libelf-devel-i386 = 0.137-3.el5 for package: elfutils-libelf-devel-static
    --> Running transaction check
    ---> Package elfutils-libelf-devel.i386 0:0.137-3.el5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ======================================================================================================================================
    
    ===================
     Package                                           Arch                      Version                           Repository              
    
                 Size
    ======================================================================================================================================
    
    ===================
    Installing:
     elfutils-libelf-devel-static                      i386                      0.137-3.el5                       rhel-debuginfo          
    
                 66 k
    Installing for dependencies:
     elfutils-libelf-devel                             i386                      0.137-3.el5                       rhel-debuginfo          
    
                 24 k
    
    Transaction Summary
    ======================================================================================================================================
    
    ===================
    Install      2 Package(s)         
    Update       0 Package(s)         
    Remove       0 Package(s)         
    
    Total download size: 90 k
    Is this ok [y/N]: y
    Downloading Packages:
    --------------------------------------------------------------------------------------------------------------------------------------
    
    -------------------
    Total                                                                                                                     67 MB/s |  
    
    90 kB     00:00     
    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    
    
    GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: '/mnt/cdrom/RPM-GPG-KEY-redhat-release'
    


     

     改动rhel-debuginfo.repo

    [root@localhost yum.repos.d]# cat rhel-debuginfo.repo 
    [rhel-debuginfo] 
    name=Red Hat Enterprise Linux $releasever - $basearch - Debug 
    baseurl=file:///mnt/cdrom/Server 
    enabled=1 
    gpgcheck=1 
    gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-oracle ---->改之后的值
    [root@localhost yum.repos.d]# 


    再次安装就没问题了:

    [root@localhost yum.repos.d]# yum install elfutils-libelf-devel-static*
    Loaded plugins: security
    rhel-debuginfo                                                                                                                    | 
    
    1.1 kB     00:00     
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package elfutils-libelf-devel-static.i386 0:0.137-3.el5 set to be updated
    --> Processing Dependency: elfutils-libelf-devel-i386 = 0.137-3.el5 for package: elfutils-libelf-devel-static
    --> Running transaction check
    ---> Package elfutils-libelf-devel.i386 0:0.137-3.el5 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ======================================================================================================================================
    
    ===================
     Package                                           Arch                      Version                           Repository              
    
                 Size
    ======================================================================================================================================
    
    ===================
    Installing:
     elfutils-libelf-devel-static                      i386                      0.137-3.el5                       rhel-debuginfo          
    
                 66 k
    Installing for dependencies:
     elfutils-libelf-devel                             i386                      0.137-3.el5                       rhel-debuginfo          
    
                 24 k
    
    Transaction Summary
    ======================================================================================================================================
    
    ===================
    Install      2 Package(s)         
    Update       0 Package(s)         
    Remove       0 Package(s)         
    
    Total download size: 90 k
    Is this ok [y/N]: y
    Downloading Packages:
    --------------------------------------------------------------------------------------------------------------------------------------
    
    -------------------
    Total                                                                                                                     65 MB/s |  
    
    90 kB     00:00     
    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
    rhel-debuginfo/gpgkey                                                                                                             | 
    
    1.4 kB     00:00     
    Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>" from /mnt/cdrom/RPM-GPG-KEY-oracle
    Is this ok [y/N]: y
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : elfutils-libelf-devel                                                                                               
    
                  1/2 
      Installing     : elfutils-libelf-devel-static                                                                                        
    
                  2/2 
    
    Installed:
      elfutils-libelf-devel-static.i386 0:0.137-3.el5                                                                                      
    
                      
    
    Dependency Installed:
      elfutils-libelf-devel.i386 0:0.137-3.el5                                                                                             
    
                      
    
    Complete!
    [root@localhost yum.repos.d]# 
    



     

  • 相关阅读:
    炫酷风扇
    linux 安装wordpress 无故往外发送大量垃圾邮件
    四大行及邮储微信银行体验
    房屋抵押合同及契税缴纳办事指南(参考)
    wordpress搬家到 linode 步骤简析
    linux mysql无故无法启动了,centos 7
    淘宝轮播JS
    curl模拟带验证码的登录
    php正则表达式,在抓取内容进行匹配的时候表现不稳定
    Js的闭包,这篇写的是比较清晰明了的
  • 原文地址:https://www.cnblogs.com/brucemengbm/p/6955149.html
Copyright © 2011-2022 走看看