1. 程式人生 > >使用yum安裝時failure: repodata/repomd.xml from local: [Errno 256] No more mirrors to try.

使用yum安裝時failure: repodata/repomd.xml from local: [Errno 256] No more mirrors to try.

出現這種問題大多數是yum倉庫沒有配置好的問題。
一、首先,先檢查能不能上網

ping www.baidu.com

如果沒有迴應的話,就是網路配置或者倉庫配置的問題的問題。如果有迴應那就是倉庫配置的問題。
1、有迴應
開啟這個檔案

[[email protected] ~]# vi /etc/sysconfig/network-scripts/ifcfg-ens33 
TYPE="Ethernet"
PROXY_METHOD="none"
BROWSER_ONLY="no"
#
BOOTPROTO="static"
#
DEFROUTE="yes"
IPV4_FAILURE_FATAL="no"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_ADDR_GEN_MODE="stable-privacy"
NAME="ens33"
UUID="2a2090a2-be37-454d-9751-892ee73031d0"
DEVICE="ens33"
#
ONBOOT="yes"
IPADDR="192.168.160.135"
NETMASK="255.255.255.0"
GATEWAY="192.168.160.2"
DNS1="114.114.114.114"
#

相關推薦

使用yum安裝failure: repodata/repomd.xml from local: [Errno 256] No more mirrors to try.

出現這種問題大多數是yum倉庫沒有配置好的問題。 一、首先,先檢查能不能上網 ping www.baidu.com 如果沒有迴應的話,就是網路配置或者倉庫配置的問題的問題。如果有迴應那就是倉庫配置的問題。 1、有迴應 開啟這個檔案 [[email 

Centos7系統安裝yum遇到的問題failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try. http:

當遇到這個問題的時候,發現網上也有很多人也在問同樣的問題。但是發現大家問的問題,很少有人能解釋得很清楚,而且很多人的解決方法複雜且不能解決問題。我查了近二十篇部落格和文章,對照做了,但是基本解決不了問題。http://mirrors.ustc.edu.cn/help/cent

Error: failure: repodata/repomd.xml from fedora: [Errno 256] No more mirrors to try.

ror 目錄 mirror cnblogs logs omd odata 不存在 yum 記錄一個小問題,重新買的linux換yum源的時候一直提示: Error: failure: repodata/repomd.xml from fedora: [Errno 25

Ambari學習10_ambari安裝過程Registration with the server failed和[Errno 256] No more mirrors to try

今天重新安裝ambari過程中,遇到了幾個問題,耗費了我很長時間,在此記錄一下 ambari重新安裝可參考我之前的一篇隨筆 http://www.cnblogs.com/6tian/p/4097401.html 遇到的問題一: 此問題是在安裝第二步,註冊主機時遇

R第二問 CentOS6.5安裝 yum [Errno 256] No more mirrors to try

yum安裝  1、安裝epel yum源 (機器是CentOS6.5,選擇相應版本的epel源)     1)安裝     rpm -ivh http://mirror.utexas.edu/epel/6/x86_64/epel-release-6-8.noarch.rpm

yum [Errno 256] No more mirrors to try 解決方法

[[email protected] yum]# yum update Loaded plugins: fastestmirror, refresh-packagekit, security Repository base is listed more than once in the conf

CentOS 7 mySQL安裝 [Errno 256] No more mirrors to try.

1.環境說明:MySql 5.6 2.問題說明:執行yum install mysql-community-server後出現如下錯誤: 3.解決辦法: 執行上圖中建議執行的命令:yum --enablerepo=mysql56-community clean metad

YUM [Errno 256] No more mirrors to try.解決辦法

[[email protected] ~]# yum install bind Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. upda

mongodb-org-server-3.4.17-1.el6.x86_64: failure: [Errno 256] No more mirrors to try.

今天在使用 yum 安裝 mongodb時,報了這個錯誤 sudo yum install -y mongodb-org [[email protected] yum]$ sudo yum install -y mongodb-org Loaded plugin

虛擬機器執行yum install安裝包報錯:No more mirrors to try,提示某個包在yum不存在------解決辦法

第一種辦法: 執行yum clean all清除所有快取 執行yum list(本地yum源庫可能會報錯,需要重新配置本地yum源庫) 重新執行 yum install 包名  安裝成功 第二種辦法: rpm手動下載上傳安裝,這種方法需要考慮依賴

配置好yum源後,還是報no more mirrors to try

在為centos配好yum源之後,下載rpm包還是報no more mirrors to try這個錯,如圖 原因: 我的語句是yum - y install elfutils*  ,這就要下載名字為elfutils開頭的所有的包,而有些包並不是必要的 解決方法:

安裝軟體報錯No more mirrors to try.

Error downloading packages: gcc-4.8.5-28.el7_5.1.x86_64: [Errno 256] No more mirrors to try. 這個錯其實是網路不通。 (1)看ping是否通 比如 ping ba

yum 源問題:repodata/repomd.xml 404 Not Found

如果在配置是出現 http://dl.fedoraproject.org/pub/epel/6//repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 40

YUM安裝RPM安裝包時報錯Could not open/read file:///mnt/repodata/repomd.xml

【Linux虛擬機器、Vbox】 出現此問題是因為yum源裡配置了baseurl=file:///mnt ,但是在這個目錄下沒有找到需要的資源。經過查詢原因發現是因為使用的虛擬機器,但是沒有掛載映象,所以使用下面語句來掛載映象: mount   /dev/cdrom  

centosFailure:repodata/repomd.xml [Err14] yum inst

安裝 oda follow tails html lease 來源 centos 7 錯誤 參考了好多文章,即不是網絡問題,也不是修改.repo文件而是centos-release-7-2.1511.el7.centos.2.10.src.rpm丟了又裝的參考博文CentO

linux下安裝mariadb,提示file:///rhel7.3/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /rhe

在本地安裝mariadb時失敗,提示如下: 根據提示,初步定位為yum源配置問題。 檢視本地yum源: 發現,baseurl中配置的地址,掛載失敗。 用命令進行重新掛載。(本地已下載映象) mount  映象位置/映象名   

Centos7 更新yum報錯http://nginx.org/packages/centos/$releaserver/x86_64/repodata/repomd.xml: [Errno 14]

新安裝好的centos7,下載新的yum源,在yum update和yum makecache 時報錯如下:修改nginx.repovim /etc/yum.repos.d/nginx.repo將[nginx]name=nginx repobaseurl=http://ngi

Yum安裝提示多庫版本保護 Multilib version problems found

-- eve problem src als info 例如 image 版本 例如: yum install pcre pcre-devel 出現一下錯誤: 解決方法:yum install --setopt=protected_multilib=false p

centos7 yum 安裝出現Bad id for repo: http repo, byte = 4

出現問題的時候的http倉庫配置 1 [http repo] 2 name=this is Tsinghua's open source mirror site 3 baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/7/os

centos 沒有那個檔案或目錄 '/media/CentOS/repodata/repomd xml

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!