Red Hat Bugzilla – Bug 525019
RFE: make debuginfo-install and other yum-utils do the 'wait for lock' thing that yum does
Last modified: 2016-02-21 19:54:56 EST
Description of problem:
If you try to run "debuginfo-install <package>" while yum is being used (for example, by PackageKit) it fails, and does not wait for the yum lock like some other tools do.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run a program that uses yum
2. Run "debuginfo-install <package>"
3. Watch it fail.
'Another application is holding the yum lock, cannot continue' message, and it exits
debuginfo-intall tells me that another program holds the yum lock, and it tries again periodically until it can acquire the lock.
I am working on using the same locking in most yum newer yum-utils, that is used in yum-cli.
fixed in yum 3.2.26