LINUX Loaded plugins: fastestmirror Repodata is over 2 weeks old. Install yum-cron? Or run: yum make

Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Existing lock /var/run/yum.pid: another copy is running as pid 4334.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum
    Memory :  23 M RSS (414 MB VSZ)
    Started: Sun May  3 09:51:08 2020 - 23:47 ago
    State  : Traced/Stopped, pid: 4334

依次执行操作,直到错误解决为止:

1、根据提示执行:yum makecache fast

2、yum clean all

3、yum update

4、ps aux|grep yum

5、kill -9 yum进程号

6、更换yum源文件:

1)cd /etc/yum.repos.d

2) wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

3) mv CentOS-Base.repo CentOS-Base.repo.bak

4)mv CentOS7-Base-163.repo CentOS-Base.repo

posted @   田领群  阅读(83)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
点击右上角即可分享
微信分享提示