我使用的是 CentOS 7 64位系统,之前使用 yum update 命令准备进行软件更新,但是中途由于开会离开了较长的一段时间。
结果发现 SSH 连接会话已经关闭了,我只好又重新登录,重新执行 yum update 命令,结果一直输出如下提示:
Existing lock /var/run/yum.pid: another copy is running as pid 27262.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:53:51 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:53:53 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:53:55 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:53:57 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:53:59 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:01 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:03 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:05 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:07 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:09 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:11 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:13 ago
State : Sleeping, pid: 27262
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 168 M RSS (1.5 GB VSZ)
Started: Wed Dec 11 15:05:17 2019 - 23:54:15 ago
State : Sleeping, pid: 27262
看样子好像是之前离开时的那个 yum 进程还没有被退出,请问还如何解决呢?
求各位大神帮帮忙,3Q。