Bug 598527 - [RFE] option to exit if the yum lock is taken
[RFE] option to exit if the yum lock is taken
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2010-06-01 11:02 EDT by Jiri Moskovcak
Modified: 2015-02-01 17:52 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-01 15:24:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jiri Moskovcak 2010-06-01 11:02:01 EDT
Description of problem:
It would be useful to have an option to tell yum to not wait and exit if the lock taken (e.g. if yum is run non-interactive from some script)

Actual results:
yum waits until the lock is freed

Expected results:
yum exits

Thank you,
Comment 1 seth vidal 2010-06-01 15:24:27 EDT
patch posted upstream to allow this.

config option is:


it would be accessible via setting in yum.conf or via

yum --setopt="exit_on_lock=true" yourcommandhere

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