Friday, October 30, 2015

Preventing the packagekit refresh when installing multiple rpms

I have many occasions to install some product rpms in a specific order one-by-one. When I'm doing this, I'm often annoyed by messages like this: Loaded plugins: fastestmirror, refresh-packagekit Existing lock /var/run/yum.pid: another copy is running as pid 13570. Another app is currently holding the yum lock; waiting for it to exit... The other application is: PackageKit Memory : 165 M RSS (1.5 GB VSZ) Started: Fri Oct 30 14:46:16 2015 - 00:03 ago State : Sleeping, pid: 13570 Using the first line as a hint, I tried this: yum --disableplugin=refresh-packagekit install and was able to make this go away (although I didn't disable it for the last rpm that I installed).

No comments:

Post a Comment