关闭

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

1015人阅读 评论(0) 收藏 举报
分类:

在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]# 



 

0
0
查看评论

yum安装php5.4或5.5

使用yum进行安装php的5.4或者5.5版本 使用centos6.5作为测试机器。 下面的两个命令就可以轻松的进行安装php的5.4版本 yum remove php php-bcmath php-cli php-common php-devel php-fpm php-gd ph...
  • MarkBoo
  • MarkBoo
  • 2015-10-26 15:17
  • 1192

在OEL6.5平台安装Oracle11g 数据库

Oracle11g 数据库 环境介绍:Oracle Enterprise Linux6.5 数据库版本:11.2.0.3
  • dbLjy2015
  • dbLjy2015
  • 2016-08-21 20:27
  • 703

使用yum来实现php5.4完美升级php5.6版本

进入终端后查看php版本 php -v 输出可能如下: PHP 5.4.35 (cli) (built: Nov 14 2014 07:04:10) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0, Copyright (c) ...
  • qq_34857250
  • qq_34857250
  • 2017-06-12 15:49
  • 337

centos 6.5中yum安装php5.4

不废话了。centos 6.x yum安装 php是 5.3.3 太老了 如果需要 5.4 则需要 使用额外的yum 源 (这个更建议手工编译安装,但是很多新手不会) 执行如下命令    0、 yum remove php php-*  卸载以前的ph...
  • github_26672553
  • github_26672553
  • 2016-05-05 16:04
  • 4933

sudo yum install gcc-c++ 安装出问题

sudo yum install gcc-c++  安装出问题,怎么样都连接不上镜像文件,清楚了yum的cache也没有用,后来发现是DNS没有设置: 然后发现也连接不上外网,ping 不通www.baidu.com 打开 /etc/resolv.conf 发现什么都没有, 增加...
  • zhoujj303030
  • zhoujj303030
  • 2014-12-22 21:02
  • 2134

CentOS5.4 yum 源配置

首先确保可以访问外部网络。如果不行在 System->Adminstration->Network 中进行相应的网 络环境配置。 启动超级终端,执行下述命令进行 yum 源配置(用的是中科院的源) # cd /etc/yum.repos.d # mv CentOS-Base.re...
  • ljg888
  • ljg888
  • 2013-03-06 13:00
  • 1247

Linux中yum命令详解

原文地址:http://www.cnblogs.com/chuncn/archive/2010/10/17/1853915.html yum(全称为 Yellow dog Updater, Modified)是一个在Fedora和RedHat以及SUSE中的Shell前端软件包管理器。基於RPM...
  • tanga842428
  • tanga842428
  • 2017-01-22 13:39
  • 783

kamailio centos6.5安装笔记

1.装依赖包: yum install git-core yum install gcc yum install flex yum install bison yum install mysql-devel yum install make yum install openssl-de...
  • jasonm2008
  • jasonm2008
  • 2014-11-04 15:07
  • 1177

linux下使用yum安装配置samba

注意:本文的原则是只将文件共享应用于内网服务器,并让将要被共享的目录拥有充分的读写权限属性,读者可顺着本文的思路完成基本配置流程,如需复杂读写权限功能请自行询问百度大哥。 1、# yum -y install samba  使用yum命令安装samba,加入-y参数,如遇询问自动选...
  • zpcandzhj
  • zpcandzhj
  • 2014-03-15 11:16
  • 2764

Linux学习篇之---CentOS Yum命令详解

yum有一下特点: *可以同时配置多个资源库(Repository) *简洁的配置文件(/etc/yum.conf) *自动解决增加或删除rpm包时遇到的倚赖性问题 *使用方便 *保持与RPM数据库的一致
  • A_little_e
  • A_little_e
  • 2015-05-15 11:43
  • 751
    个人资料
    • 访问:1886798次
    • 积分:26838
    • 等级:
    • 排名:第254名
    • 原创:621篇
    • 转载:314篇
    • 译文:297篇
    • 评论:70条
    博客专栏
    文章分类
    最新评论