今天install一个包的时候,我真的是很气~怎么解决???
[root@desktop41 ~]# yum install yum-plugin-security
Loaded plugins: product-id, refresh-packagekit, security, subscription-managerThis system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Existing lock /var/run/yum.pid: another copy is running as pid 41121.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 55 M RSS (366 MB VSZ)
Started: Sun Jan 7 09:47:24 2018 - 04:17 ago
State : Sleeping, pid: 41121
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 55 M RSS (366 MB VSZ)
Started: Sun Jan 7 09:47:24 2018 - 04:19 ago
State : Sleeping, pid: 41121
简单粗暴一定可以的方法就是:rm -f /var/run/yum.pid
谨慎使用,小心有毒!