Howto fix another app is currently holding yum lock on Fedora 18

Howto fix another app is currently holding yum lock on Fedora 18

PackageKit holding yum lock fedora 18

 

 

 

PackageKit is a system designed to make installing and updating software on your computer easier . When updates are available, PackageKit’s running,it holds yum lock

 

[root@dhcppc2 ~]# yum install samba samba-client samba-common
Loaded plugins: langpacks, presto, refresh-packagekit
Existing lock /var/run/yum.pid: another copy is running as pid 1823.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 76 M RSS (101 MB VSZ)
Started: Mon Mar 18 12:56:53 2013 – 14:54 ago
State : Sleeping, pid: 1823
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: PackageKit
Memory : 76 M RSS (101 MB VSZ)
Started: Mon Mar 18 12:56:53 2013 – 14:56 ago
State : Sleeping, pid: 1823

You can disable the refresh of PackageKit by edit refresh-packagekit configuration file:

[root@dhcppc2 ~]# vi /etc/yum/pluginconf.d/refresh-packagekit.conf
[main]
enabled=0

 

Now you can install by yum:

[root@dhcppc2 ~]# yum install samba samba-client samba-common
Loaded plugins: langpacks, presto
fedora/18/i386/metalink | 8.9 kB 00:00
updates/18/i386/metalink | 3.4 kB 00:00
updates | 4.6 kB 00:00
updates/primary_db 13% [== ] 200 kB/s | 933 kB 00:30 ETA

………………………………………………………………………………………………………………………………………………….

That’s all
Thanks for using ithelpblog.com.

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>