yum各种error报错信息以及解决方案

yum各种error报错信息以及解决方案

ID:35274800

大小:17.44 KB

页数:3页

时间:2019-03-22

yum各种error报错信息以及解决方案_第1页
yum各种error报错信息以及解决方案_第2页
yum各种error报错信息以及解决方案_第3页
资源描述:

《yum各种error报错信息以及解决方案》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、1.ThissystemisnotregisteredwithRHN.使用redhat系统在线安装时提示ThissystemisnotregisteredwithRHN.如下:[root@localhost~]#yuminstallhttpdLoadedplugins:rhnplugin,securityThissystemisnotregisteredwithRHN.RHNsupportwillbedisabled.SettingupInstallProcessNopackagehttpdavailable.Nothingtodo解决方案:1

2、.卸载redhat自带的yum组件[root@localhost~]#rpm-qa

3、grepyum

4、xargsrpm-e--nodeps2.安装centos的yum包[root@localhost~]#wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm[root@localhost~]#wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS

5、/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm[root@localhost~]#wget http://centos.ustc.edu.cn/centos/5/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm[root@localhost~]#rpm-ivh*.rpmwarning:yum-3.2.22-37.el5.centos.noarch.rpm:HeaderV3DSAsignature:NOKEY,keyIDe8562897Pre

6、paring... ###########################################[100%]  1:yum-metadata-parser##########################################[33%]  2:yum-fastestmirror ###########################################[67%]  3:yum ###########################################[100%] 3.下载更新源,并存放在系统目录中[

7、root@localhost~]#wgethttp://docs.linuxtone.org/soft/lemp/CentOS-Base.repo[root@localhost~]#mvCentOS_Base.repo/etc/yum.repos.d/CentOS-Base.repo 4.生成缓存并进行安装[root@localhost~]#yummakecache[root@localhost~]#yuminstallhttpd1.Youcouldtryusing--skip-brokentoworkaroundtheproblem一般都是用

8、yuminstall***--skip-broken后来在网上找到了解决方案:1、将/etc/yum.repos.d文件夹下所有repos文件转移,然后把用的那个repo拷贝回来(保证repo所在目录只有你的那1个文件)2、yumcleanall3、再yuminstall安装看看2.Loading"installonlyn"plugin Existinglock/var/run/yum.pid:anothercopyisrunning.Aborting. 如果出现上述错误,直接输入下列命令再运行就好了 [root@localhost~]#/et

9、c/init.d/yum-updatesdstop 停止yum-updatesd:[确定] 3.[Errno14]PYCURLERROR6-""这是因为系统nameserver没有配置好,或者说DNS解析上有问题,修改/etc/resolv.confresolv.conf原来的配置为#GeneratedbyNetworkManagersearch202.96.209.6nameserver202.96.209.6似乎202.96.209.6这个DNS服务器已经不能正常工作了,换一个。修改后的配置#GeneratedbyNetworkManage

10、r#search202.96.209.133nameserver8.8.8.8nameserver8.8.4.4nameserver202.96.20

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。