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

[[email protected] 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

[[email protected] 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 ---->改之后的值
[[email protected] yum.repos.d]# 

再次安装就没问题了:

[[email protected] 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) <[email protected]>" 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!
[[email protected] yum.repos.d]#

版权声明:本文为博主原创文章,未经博主允许不得转载。

时间: 2024-10-18 15:05:41

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

&lt;问题解决01&gt;Linux虚拟机使用命令yum install 报错--解决方案如下:

问题描述: Linux虚拟机上使用yum install命令报错,错误为:Determining IP information for eth0- failed; no link present. eth0 解决方案: 解决方案来源博客地址:http://blog.csdn.net/refuil/article/details/50771677 根本原因是,win7物理机的两个服务没有启动,如果是这样,可以做如下修改: 开始-控制面板-管理工具-服务,找到VMwareDHCP Service和V

CentOS 5 上使用yum同时安装32位和64位包的解决方法

在centos上使用yum在线安装软件包的时候,有时候会同时安装32位和64位的包.并且在update的时候也会更新双份. 其实让yum只安装64位的包,只要在 /etc/yum.conf 中加个 exclude 选项: [main] cachedir=/var/cache/yum keepcache=0 plugins=1 ...... exclude=*.i?86 exclude 选项支持正则表达式,*.i?86可以用来过滤掉i386,i686等32bit包. 如果要删除已经安装的32bit

在CentOS/RHEL 6.2上使用YUM安装PHP5.4

核心命令 rpm -Uvh http://repo.webtatic.com/yum/el6/latest.rpm    yum install php54w 以下转自样例: php5.4于2012年5月8号发布,从php5.4.0开始php加入了一些新特色如: Traits支持 内置了一个简单的Web服务器 提供了数组简短语法 直接对函数返回值进行数组取值 最终删除魔术方法及安全模式 你可以在这里看到更新日志. 这里使用 Webtatic EL6的YUM源来安装php5.4,我们首页安装Web

如何在CentOS 6上通过YUM安装Nginx和PHP-FPM(转)

准备篇: 1.配置防火墙,开启80端口.3306端口       vi /etc/sysconfig/iptables       -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT(允许80端口通过防火墙)       -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT(允许3306端口通过防火墙)特别提示:很多网友把这两条规则添加到防

在linux上通过yum安装JDK

卸载centos自带的jdk 1.查看当前的jdk版本,并卸载 [email protected] opt]# rpm -qa|grep java java-1.6.0-openjdk-1.6.0.37-1.13.9.4.el5_11 tzdata-java-2015g-1.el5 //卸载 [[email protected] opt]# rpm -e --allmatches --nodeps java-1.6.0-openjdk-1.6.0.37-1.13.9.4.el5_11 [[ema

centos7上使用yum安装mysql

centos yum是没有mysql的,集成的是新的Mariadb,怎么用yum的方式在centos7上安装mysql呢? 1. 下载mysql的repo源 wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm 2. 安装mysql-community-release-el7-5.noarch.rpm包 sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm 安

centos6.4上搭建yum本地源

在日常运维中,经常碰到linux下需要安装软件或者系统包,此时采用yum会加快你安装速度. 本人在安装同花顺相关程序时候发现缺少很多lib包,一个个安装麻烦,开始通过程序运行报错缺少lib文件,把该文件在百度中搜索对应rpm包,安装时提示关联很多rpm包,通过rpm -qpl *.rpm查看该rpm中是否包含该lib文件,如包含,靠rpm -vih *.rpm --nodeps --force强制安装,但一个个这样非常麻烦.现介绍搭建本地yum步骤.如32位程序在64位系统上跑,此时yum不安装

centos7上执行yum group install &quot;Virtualization Hypervisor&quot;出错

centos7上执行yum group install "Virtualization Hypervisor"出错 错误提示:   Transaction check error:   file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.5.x86_64 conflicts with file from package lvm2-7:

【推荐】在RedHat Server 5.4上安装YUM【利用网易免费yum源,配置和更新yum】

[推荐]在RedHat Server 5.4上安装YUM[利用网易免费yum源,配置和更新yum] 今天碰上要给一台装有Linux的机器做维护,于是就以为按照以往经验就能解决问题,但是神奇的发现机器上一堆的软件包都没有安装,最要命的是连软件包管理器也都没有安装,本以为是FreeBSD,查了一下才发现是RedHat Linux Server 5.4,于是开始着手安装YUM,在Google搜索了一下,发现貌似类似的情况不多,但是这确实不是我第一次遇到RedHat没有yum了,因为上次遇到的时候是别人