1. 程式人生 > >Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostf

Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostf

最近在用Centos 6.5 的時候出現了這種情況,

Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Setting up Install Process
No package gcc available.
Error: Nothing to do

遇到這種情況有兩種做法:

1、沒網,試著:ping www.baidu.com

如果顯示沒有連線的話,就說明沒網,也就無法使用yum 命令。

2、ping通了的話,還是是用不了yum命令,說明是yum映象沒有了,那麼就得下載一個來更新。

在安裝完CentOS後一般需要修改yum源,才能夠在安裝更新rpm包時獲得比較理想的速度。國內比較快的有163源、sohu源。這裡以163源為例子。

1. cd /etc/yum.repos.d

2. mv CentOS-Base.repo CentOS-Base.repo.backup

3. wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

4. mv CentOS6-Base-163.repo CentOS-Base.repo

5.yum clean all

最後在使用yum 就可以了。

相關推薦

Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostf

最近在用Centos 6.5 的時候出現了這種情況, Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Setti

解決yum 不能更新問題 :yum 報錯Loaded plugins: fastestmirror, refresh-packagekit, security

fresh rep ror res onf ast 更新 sea ack 2018-07-02 21:43:13 Yum報錯 [root@db yum.repos.d]# yum mak

yum出現Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解決方法

bsp resolv https file plugins pan display yum安裝 spa yum出現Could not retrieve mirrorlist解決方法 Loaded plugins: fastestmirror, securityLoad

linux yum提示Loaded plugins: fastestmirror, security錯誤的解決方法

yum pos stat state 錯誤 ins ror nfs-utils res [root@lamp02 yum.repos.d]# yum install nfs-utils rpcbind -y Loaded plugins: fastestmirror, s

linux下yum命令出現Loaded plugins: fastestmirror

tle enable yum test enabled net post sdn http linux下yum命令出現Loaded plugins: fastestmirror yum install的時候提示:Loaded plugins: fastestmirror

linux下yum命令出現Loaded plugins: fastestmirror Determining fastest mirrors

找到 plugin mir con test lin fast load min 今天yum install的時候出問題了,找了半天才找到一個可行的解決辦法 fastestmirror是yum的一個加速插件,這裏是插件提示信息是插件不能用了。 不能用就先別用唄,禁用掉,先y

yum install的時候提示:Loaded plugins: fastestmirror

enabled AS ast mir ble conf ins yum ... fastestmirror是yum的一個加速插件,這裏是插件提示信息是插件不能用了。 不能用就先別用唄,禁用掉,先yum了再說。 1.修改插件的配置文件 # vi /etc/yum/plugi

使用 yum 出現 Loaded plugins: fastestmirror 資訊

使用 yum 軟體包管理工具可以簡化系統軟體更新的工作。為了保證更新的持續進行,通常都會提供多個 mirror(映象)地址供下載使用,但由於存在地域問題,從不同的映象下載速度差異很大。選擇從適合的映象下

centos問題之Loaded plugins: fastestmirror, langpacks You need to be root to perform this command

問題 [lss@localhost ~]$ yum install -y libtool Loaded plugins: fastestmirror, langpacks You need to be root to perform this command. 無許可權問題,新增s

yum install 出現如下錯誤: Loaded plugins: fastestmirror, langpacks SyntaxError: invalid syntax

  CentOS 7升級Python到3.5後,我跟以前CentOS 6一樣,在/usr/bin/python建立了一個指向Python 3的軟連線,然後將/usr/bin/yum的頂部的: !/usr/bin/python  改成了 !/usr/bin/python

centos yum報錯Loaded plugins: fastestmirror

#vim  /etc/yum/pluginconf.d/fastestmirror.conf  enabled = 0 # vim /etc/yum.conf plugins=0 yum clean dbcache

解決Linux(Loaded plugins: fastestmirror Please use /usr/bin/yum --help)

大概意思是fastestmirror不能使用,fastestmirror是yum的一個加速外掛處理辦法就是禁用這個外掛方法兩種第一種vi /etc/yum/pluginconf.d/fastestmirror.conf把enabled=1改為0vi /etc/yum.conf把plugins=1改為0yum&

Loaded plugins: fastestmirror, langpacks You need to be root to perform this command.(已解決)

你需要用root許可權來執行此命令。我在安裝ssh的時候遇到的  [[email protected] ~]$ yum install ssh Loaded plugins: fastestm

Linux yum提示Loaded plugins錯誤的解決方法

在linux中使用yum時出現如下錯誤:Loaded plugins: fastestmirror, securityExisting lock /var/run/yum.pid: another copy is running as pid 4733.Another app

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://repo1.mave

maven專案pom.xml報錯:Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://repo1.maven.org/maven2 w

Idea啟動報錯Plugin ErrorProblems found loading plugins:

Plugin Error Problems found loading plugins: Plugin "GlassFish Integration" was not loaded: required plugin "Java EE: EJB, JPA, Servlets" is disab

spring security oauth2 自動重新整理續簽token (refresh token)

1.引言 本篇文章適合瞭解過oauth2,有用過spring security oauth2的讀者並且瞭解過濾器鏈路的人。本篇文章的思路是首先獲取資源伺服器的某一個資源,當認證失敗返回401的時候我們通過異常處理器的嘗試通過refresh token 進行token的重新整

利用css3的animation實現點點點loading動畫效果(二)

設置 str ack rdp 提交 ssi frame spin color box-shadow實現的打點效果 簡介 box-shadow理論上可以生成任意的圖形效果,當然也就可以實現點點點的loading效果了。 實現原理 html代碼,首先需要寫如下html代

docker:virtualbox 安裝CoreOS系統,配置registry-mirror

usr 事情 並不是 load data 輕量 mac 底層 cdn “CoreOS是一款面向新智雲(www.enncloud.cn)的輕量級OS。它以Linux系統為基礎,因建設數據中心的需要從Linux底層進行了內核裁減。一系列的機制和工具保證了CoreOS組建的雲環

Spring Security應用開發(04)HTTP basic認證

角色 cati onf poi font con prop ins mode Spring Security默認是使用form-login表單認證方式。 <!-- 默認使用表單認證 --> <sec:form-login /> Spring