CentOS 7 yum Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

yum install nginx发生的错误

yum install nginx
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
.....
No package nginx available.
Error: Nothing to do

解决方法:

可能缺乏epel
EPEL (Extra Packages for Enterprise Linux)是基于Fedora的一个项目,为“红帽系”的操作系统提供额外的软件包,适用于RHEL、CentOS和Scientific Linux.

yum install epel-release

如果还没解决:

换源

禁用插件

1.修改插件的配置文件

# vim /etc/yum/pluginconf.d/fastestmirror.conf

enabled = 0//由1改为0,禁用该插件
2.修改yum的配置文件

# vim /etc/yum.conf

plugins= 0//改为0,不使用插件

原文地址:https://www.cnblogs.com/ryanzheng/p/11263388.html

时间: 2024-11-06 09:46:15

CentOS 7 yum Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile的相关文章

解决yum 不能更新问题 :yum 报错Loaded plugins: fastestmirror, refresh-packagekit, security

2018-07-02       21:43:13 Yum报错 [[email protected] yum.repos.d]# yum makecache Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot find a valid baseurl for repo: elasticsearch-6.x [[ema

linux下yum命令出现Loaded plugins: fastestmirror

linux下yum命令出现Loaded plugins: fastestmirror yum install的时候提示:Loaded plugins: fastestmirror fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了. 不能用就先别用呗,禁用掉,先yum了再说. 1.修改插件的配置文件 # vi  /etc/yum/pluginconf.d/fastestmirror.conf enabled = 1//由1改为0,禁用该插件 ...........

【llinux】yum命令出现Loaded plugins: fastestmirror Determining fastest mirrors

在进行yum 安装的时候.报错了. Loaded plugins: fastestmirror Determining fastest mirrors fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了. 既然提示不能用了.那就禁用掉 1 修改插件的配置文件 vi /etc/yum/pluginconf.d/fastestmirror.conf enabled = 1//由1改为0,禁用该插件 2  修改yum的配置文件 vi /etc/yum.conf plug

linux yum提示Loaded plugins: fastestmirror, security错误的解决方法

[[email protected] yum.repos.d]# yum install nfs-utils rpcbind -y Loaded plugins: fastestmirror, securityExisting lock /var/run/yum.pid: another copy is running as pid 3517.Another app is currently holding the yum lock; waiting for it to exit... The

CentOS中yum安装软件时报错:No package XXX available

yum 安装软件时,报错:No package XXX available. [[email protected] ~]# yum -y install redis Loaded plugins: fastestmirror No package redis available. Nothing to do 配置一台CentOS 7.x或RHEL 7.x的系统使用Fedora EPEL  repos和第三方软件包安装各种软件包.请注意,这些软件包没有正式获得任何的CentOS或Red Hat的支

centos 下yum命令无法正常安装docker问题

docker安装前检查你对应centos版本,一般要高与3.8版本才支持[email protected] ~]# uname -aLinux bogon 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux在安装docker时出现如下错误信息,[[email protected] ~]# yum -y install dockerLoaded plugins: f

CentOS 使用yum命令安装Java SDK(openjdk)

CentOS 6.X 和 5.X 自带有OpenJDK runtime environment  (openjdk).它是一个在linux上实现开源的java 平台.CentOS  yum 命令 安装 Java SDK openjdk centos linux JAVA(openjdk)软件包名 1.java-1.7.0-openjdk - OpenJDK Runtime Environment 2.java-1.7.0-openjdk-devel - OpenJDK Development E

在Rethat上安装Centos的yum源

首先因为Rethat的yum源要去订阅(当然是需要钱的),所以许多朋友都是以Centos的yum源来代替(Centos是开源的) 安转: 1:卸载原有Rethat的yum源 #rpm -aq|grep yum|xargs rpm -e --nodeps 2:下载需要的rpm包(Centos的yum安装包) #Wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-73.el6.centos.noarch.rpm #Wg

CentOS下yum使用代理的设置

export后好像没用? 问题描述: CentOS yum时出现“Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons error ”错误: [plain] view plaincopyprint? [[email protected] mysql-5.0.56]# yum install gcc Loaded plugins: fastestmirror Lo