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

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

  1. linux中yum install 命令无效

    版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明.本文链接:https://blog.csdn.net/lx_Frolf/article/deta ...

  2. OEL上使用yum install oracle-validated 简化主机配置工作

    环境:OEL 5.7 + Oracle 10.2.0.5 RAC 如果你正在用OEL(Oracle Enterprise Linux)系统部署Oracle,那么可以使用yum安装oracle-vali ...

  3. yum install mariadb安装数据库开启不了

    centos7内置的MySQL镜像已经放弃Oracle公司的MySQL,改用MySQL的分支数据库mariaDB,使用以下安装mariadb: yum install mariadb 然后使用命令sy ...

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

    在centos上使用yum在线安装软件包的时候,有时候会同时安装32位和64位的包.并且在update的时候也会更新双份. 其实让yum只安装64位的包,只要在 /etc/yum.conf 中加个 e ...

  5. 在linux上通过yum安装JDK

    完全转载自:https://my.oschina.net/andyfeng/blog/601291 这里完整粘贴一份留存 卸载centos自带的jdk 1.查看当前的jdk版本,并卸载 [root@l ...

  6. centos7上使用yum安装mysql

    centos yum是没有mysql的,集成的是新的Mariadb,怎么用yum的方式在centos7上安装mysql呢? 1. 下载mysql的repo源 wget http://repo.mysq ...

  7. Centos 5上使用YUM安装GIT

    网上搜索的基本上都是一样的内容 1.先安装git依赖的包 yum install zlib-devel yum install openssl-devel yum install perl yum i ...

  8. 在CentOS linux上通过yum安装JDK<转>

    卸载centos自带的jdk 1.查看当前的jdk版本,并卸载 [root@localhost opt]#  rpm -qa|grep java  java-1.6.0-openjdk-1.6.0.3 ...

  9. linux服务器上,yum、rpm、源码编译安装及卸载

    源码的编译安装及卸载 源码安装三部曲 1.生成makefile编译文件./configure 一般安装包下面都有一个configure文件,用来生成makefile编译文件常用的参数: --prefi ...

随机推荐

  1. cnmp安装失败,报错npm ERR! enoent ENOENT: no such file or directory,

    1.cnmp安装失败 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://reg ...

  2. rem自适应布局-移动端自适应必备:flexible.js

    http://caibaojian.com/flexible-js.html

  3. Chromium Graphics: Aura

    Aura (obsolete) This document is still good for a high level overview, with contact information, but ...

  4. phpStudy出现You don't have permission to access / on this server.

    原本用的 php 是<5.5.38版本的>,但是项目最低要求是<5.6>,所以就选择切换了版本,但是用原来的域名访问一直出现:You don't have permission ...

  5. python学习---【__all__】

    python包中都会有一个__init__.py的模块,这个模块是区分该父文件是一个python包,或是一个文件目录.这个__init__.py可以是空,也可以添加内容,最常见的就是其中的__all_ ...

  6. python 进阶:修饰器的介绍

    参考链接:Python 函数装饰器 我认为python中的装饰器是一个很厉害的功能,他能瞬间提升代码的逼格,但对于我这样的小白来说,别说为所欲为的使用了,就连简单的尝试一下,却也是难于登天.经过长达半 ...

  7. [APIO2010]巡逻(树的直径)

    [APIO2010]巡逻 题目描述 在一个地区中有 n 个村庄,编号为 1, 2, ..., n.有 n – 1 条道路连接着这些村 庄,每条道路刚好连接两个村庄,从任何一个村庄,都可以通过这些道路到 ...

  8. string.split 应用

    采用string.split将字符串依据分隔符,转换成字符串数组,生成的字符串数组中会包含空数组元素,需要通过StringSplitOptions.RemoveEmptyEntries参数选项去除. ...

  9. LiquiBase注释

    LiquiBase的注释 <createTable tableName="Role_" remarks="角色表">             < ...

  10. 怎样只接受固定长度数组为参数 & 数组形参

    注意,对于多维数组的情况.