Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created May 19, 2015 09:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melvincabatuan/0b1396a1cba9ebd8d640 to your computer and use it in GitHub Desktop.
Save melvincabatuan/0b1396a1cba9ebd8d640 to your computer and use it in GitHub Desktop.
[SOLVED] Annoying 'Another app is currently holding the yum lock'
# yum localinstall redhat*
Loaded plugins: fastestmirror, refresh-packagekit, security
Existing lock /var/run/yum.pid: another copy is running as pid 7591.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:29 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:31 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:33 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:35 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:37 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:39 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:41 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:43 ago
State : Sleeping, pid: 7591
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: PackageKit
Memory : 39 M RSS (348 MB VSZ)
Started: Tue May 19 17:04:57 2015 - 06:45 ago
State : Sleeping, pid: 7591
^C
Exiting on user cancel.
[root@localhost /]# kill 7591
[root@localhost /]# yum localinstall redhat*
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Local Package Process
Examining redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch
Marking redhat-upgrade-tool-0.7.22-3.el6.centos.noarch.rpm to be installed
Loading mirror speeds from cached hostfile
* base: centos-hcm.viettelidc.com.vn
* extras: centos-hcm.viettelidc.com.vn
* updates: centos-hcm.viettelidc.com.vn
Resolving Dependencies
--> Running transaction check
---> Package redhat-upgrade-tool.noarch 1:0.7.22-3.el6.centos will be installed
--> Processing Dependency: yum >= 3.2.29-43 for package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch
--> Running transaction check
---> Package yum.noarch 0:3.2.29-40.el6.centos will be updated
---> Package yum.noarch 0:3.2.29-43.el6.centos will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment