1. 程式人生 > >安裝軟體報錯No more mirrors to try.

安裝軟體報錯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 baidu.com
(2)若(1)不通,並且之前能ping通,則重啟網絡卡。
centos6的網絡卡重啟方法:service network restart
centos7的網絡卡重啟方法:systemctl restart network

相關推薦

安裝軟體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

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 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開頭的所有的包,而有些包並不是必要的 解決方法:

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

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

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

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

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

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 遇到的問題一: 此問題是在安裝第二步,註冊主機時遇

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

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

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

ubuntu安裝軟體 Unable to locate package *解決辦法

有時使用apt-get安裝軟體不成功,提示資訊如下: root@ubuntu18:~# apt-get install openbsd-inetd Reading package lists...

Ubuntu安裝Sqlite:No module named 'ConfigParser'

python3 系統 tail module install log tails fig art 安裝命令:`sudo apt install sqlite` 原因,我把系統默認的python版本改為了python3 改為python2即可,用update-alternat

[轉]jmeter安裝啟動:Not able to find Java executable or version. Please check your Java installation

system erro root lease %s cut 問題: 直接 pat 在啟動jmeter過程中,如果出現這個問題: Not able to find Java executable or version. Please check your Java insta

Linux 安裝pyspider No such file or directory: 'curl-config”

   During handling of the above exception, another exception occurred:          Traceback (most recent call last)

liunx安裝軟體yum install gcc-c++

 http://ftp.sjtu.edu.cn/centos/6.9/os/x86_64/repodata/repomd.xml:  [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not F

安裝graphlab No matching distribution found for graphlab-create>=2.1

異常記錄 在安裝graphlab 的過程中,發現如下錯誤 Could not find a version that satisfies the requirement graphlab-create>=2.1 (from GraphLab-Create-License==

centos7下面yum安裝軟體,顯示找不到映象地址。

【問題原因和解決辦法】 dns解析的問題,處理辦法:vim /etc/resolv.conf  加入:nameserver 8.8.8.8nameserver 8.8.4.4search localdomain -------------------------------

centos7下面yum安裝軟體,顯示找不到映象地址

【問題原因和解決辦法】 dns解析的問題,處理辦法:vim /etc/resolv.conf  加入:nameserver 8.8.8.8nameserver 8.8.4.4search localdomain -------------------------------