yum更新时
[root@centos7 ~]# yum update
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
No packages marked for update
#加载的插件:最快的镜像,langpacks
#配置中多次列出存储库epel
#从缓存的主机文件加载镜像速度*没有标
#记为更新的软件包
安装软件包时,yum说名显示安装,但实际上不能使用。
[root@VM-0-9-centos ~]# yum -y install wget
Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
Nothing to do
加载的插件:最快的镜像,langpacks
*配置中多次列出存储库epel
*从缓存的主机文件加载镜像速度
*已安装软件包wget-1.14-18.el7_6.1.x86_64和最新版本
*无需执行任何操作
[root@VM-0-9-centos ~]# wget
-bash: wget: command not found
#yum显示安装,但实际并没有作用
解决:
卸载:yum remove wget
重新安装:yum -y install wget
ps:这个问题搞的我很尴尬!备份,更新了好多次yum的源/etc/yum.repos.d