关于yum的/repodata/repomd.xml错误
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
#baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
baseurl=file:///mnt/ ##安装文件的目录,这是从局域网中挂载的rhel5.2的安装包和文件
enabled=1
gpgcheck=1 ##1为激活gpg检测,0为否
gpgkey=file:///mnt/RPM-GPG-KEY-redhat-release ##、mnt下对应的rpm包的验证文件
Loading "rhnplugin" plugin
Loading "security" plugin
This system is not registered with RHN.
RHN support will be disabled.
ftp:///mnt/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] no host given
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-debuginfo. Please verify its path and try again
上述中的repodata/repomd.xml文件据说是/mnt目录rpm包的目录,路径
在网上找到centos的安装源http://centos.ustc.edu.cn/centos/5/os/i386/,替换掉上面的baseurl后,经测试正常!因为是rhel和centos有些不同的原因,提示某些包的Public key没有安装,如下:
Public key for httpd-2.2.3-11.el5_1.centos.3.i386.rpm is not installed
转载于:https://blog.51cto.com/huasheng/271540
关于yum的/repodata/repomd.xml错误相关推荐
- 记录一下 yum install *** 报错问题:failure: repodata/repomd.xml from tvinternal_dev: [Errno 256] No more mirr
本想centos7中安装一个google浏览器,于是便遇上了yum报错问题,不管install任何软件,都会报错,真是气煞老夫! 报错内容如下: 已加载插件:fastestmirror, langpa ...
- yum报错failure: repodata/repomd.xml from Centos: [Errno 256] No more mirrors to try. importing repomd.
yum报错failure: repodata/repomd.xml from Centos: [Errno 256] No more mirrors to try. importing repomd. ...
- Centos7系统安装yum遇到的问题failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try. http:
当遇到这个问题的时候,发现网上也有很多人也在问同样的问题.但是发现大家问的问题,很少有人能解释得很清楚,而且很多人的解决方法复杂且不能解决问题.我查了近二十篇博客和文章,对照做了,但是基本解决不了问题 ...
- yum本地源 baseurl repodata repomd.xml comps.xml
(一)相关讲解 repodata作为软件的仓库,其目录下有四个必要文件:filelists.xml.[gz],other.xml.[gz],primary.xml.[gz]和repomd.xml(md ...
- yum本地源 baseurl repodata repomd.xml comps.xml(一)
(一)相关讲解<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> ...
- Centos yum 报错:Couldn't open file /mnt/redhat73/repodata/repomd.xml
在使用centos7更新yum时,出现错误: file:///mnt/redhat73/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't ...
- yum安装的时候报错Couldn't open file /mnt/repodata/repomd.xml
今天调试虚拟机安装东西的时候突然报错"Couldn't open file /mnt/repodata/repomd.xml"就很疑惑,以前从没这样错误, 后面测试后解决了问题.原 ...
- failure: repodata/repomd.xml from xxxxxx: [Errno 256] No more mirrors to try.
今天在Linux上面安装PostgreSQL的时候发生了 报错情况 failure: repodata/repomd.xml from xxxxxx: [Errno 256] No more mirr ...
- [Linux] xxx/rhel7/repodata/repomd.xml: [Errno 14] FTP Error 550 - Server denied you to XXX
自定义的第三方软件源目录中出现该错误 在学习ftp文件传输时,想要使用yum下载镜像中的工具lftp,出现错误:xxx/rhel7/repodata/repomd.xml: [Errno 14] FT ...
最新文章
- html onclick的方法里用js的变量
- 陕西小学三年级计算机下册教案,小学三三年级信息技术下册教学计划
- jQuery中hover与mouseover和mouseout的区别分析
- python mq_RabbitMQPython
- android 自定义progressbar demo,Android 自定义进度条ColorfulProgressbar,原理简单、效果还行...
- 深入浅出asterisk(一):asterisk通道(Channels)
- Apple开源了用于ARM CPU的iOS内核
- ros中使用boost::thread多线程boost::bind绑定参数,多线程发送topic
- python菱形_python如何输出菱形与空心菱形详解与巧妙地使用center方法
- 应云而生,原力觉醒——解读云原生基础设施 | 凌云时刻
- Linux 下搭建web压力测试工具web polygraph
- C Primer Plus 第2章 课后答案
- thinkadmin模板渲染与赋值
- 2021-04-12
- Android 腾讯地图 选点定位,仿微信发送位置
- (二十四)资本资产定价模型
- 富士施乐FujiXeroxDocuCentre-V2060扫描到PC
- 教你如何解决VS2015的30天试用期已过即VS2015许可证已过期的问题,使用激活 密钥
- 《中国垒球》:跨界联赛·完美落幕
- offer选择:创业公司 VS 大厂外包