fedora12, yum not releasing "lock" after performing an action

Posted by James.Elsey on Super User See other posts from Super User or by James.Elsey
Published on 2009-12-18T08:46:12Z Indexed on 2010/04/02 16:03 UTC
Read the original article Hit count: 855

Filed under:
|
|

Hello,

This problem has been occurring quite frequently recently and I can't seem to find a way of preventing it. Whenever I perform an action with yum such as to install or remove software, it appears to execute successfully but then I'm unable to move onto the next yum command

For example, I executed yum remove skype, it appeared to remove ok, but next when I try to yum search skype it appears that yum is still processing, and I have to manually kill that process via kill 1234 (or whatever the PID is)

My output is as follows

[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

Kernel version : 2.6.31.6-166.fc12.x86_64

Any ideas how I can prevent this behaviour?

Thanks

© Super User or respective owner

Related posts about fedora

Related posts about fedora12