这个问题最近经常发生,我似乎找不到预防它的方法。每当执行yum
诸如安装或删除软件之类的操作时,它似乎都能成功执行,但随后我将无法继续执行下一个yum
命令
例如,我执行了yum remove skype
,它似乎删除了ok,但是接下来,当我尝试yum search skype
显示yum仍在处理时,我必须通过kill 1234
(或任何PID)手动终止该进程。
我的输出如下
[root@nevada james]# yum remove skype
Loaded plugins: presto, refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package skype.i586 0:2.1.0.47-fc10 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
skype i586 2.1.0.47-fc10 installed 24 M
Transaction Summary
================================================================================
Remove 1 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : skype-2.1.0.47-fc10.i586 1/1
Removed:
skype.i586 0:2.1.0.47-fc10
Complete!
[root@nevada james]# yum search skype
Loaded plugins: presto, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 3639.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 79 M RSS (372 MB VSZ)
Started: Fri Dec 18 08:39:18 2009 - 00:01 ago
State : Sleeping, pid: 3639
内核版本:2.6.31.6-166.fc12.x86_64
有什么想法可以防止这种行为吗?
谢谢