Bug 525019 - RFE: make debuginfo-install and other yum-utils do the 'wait for lock' thing that yum does
Summary: RFE: make debuginfo-install and other yum-utils do the 'wait for lock' thing ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-23 03:43 UTC by James Livingston
Modified: 2016-02-22 00:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-29 12:40:51 UTC


Attachments (Terms of Use)

Description James Livingston 2009-09-23 03:43:02 UTC
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):
1.1.23-3.fc12

How reproducible:
Always

Steps to Reproduce:
1. Run a program that uses yum
2. Run "debuginfo-install <package>"
3. Watch it fail.
  
Actual results:
'Another application is holding the yum lock, cannot continue' message, and it exits

Expected results:
debuginfo-intall tells me that another program holds the yum lock, and it tries again periodically until it can acquire the lock.

Comment 1 Tim Lauridsen 2009-10-19 12:58:38 UTC
I am working on using the same locking in most yum newer yum-utils, that is used in yum-cli.

Comment 2 Tim Lauridsen 2010-04-29 12:40:51 UTC
fixed in yum 3.2.26


Note You need to log in before you can comment on or make changes to this bug.