Bug 1312552 - yum-builddep --skip-broken doesn't skip missing packages
yum-builddep --skip-broken doesn't skip missing packages
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-utils (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: rc
: ---
Assigned To: Valentina Mukhamedzhanova
BaseOS QE Security Team
Depends On:
Blocks: 1311160
  Show dependency treegraph
Reported: 2016-02-27 05:06 EST by Ales Zelinka
Modified: 2017-12-06 06:15 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-12-06 06:15:02 EST
Type: Bug
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 Ales Zelinka 2016-02-27 05:06:02 EST
Description of problem:
yum-builddep --skip-broken ends with an error when one of the BuildRequires is missing, not installing anything

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. have following spec:

> # cat fakepkg.spec
> Name:           fake-pkg
> Version:        1.3.0
> Release:        3%{?dist}
> Summary:        yum-builddep --skip-broken is itself broken
> Group:          System Environment/Base
> License:        GPLv2
> URL:            https://github.com/nfont/%{name}/
> Source0:        https://github.com/nfont/%{name}/archive/v%{version}.tar.gz
> BuildRequires:  missing-but-installable
> BuildRequires:  nonexistant
> %description
> some-desc

2. replace missing-but-installable with a real missing but installable package (mc in my case)

3. run yum-builddep --skip-broken   fakepkg.spec 

Actual results:
# yum-builddep --skip-broken   fakepkg.spec 
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Getting requirements for fakepkg.spec
 --> 1:mc-
Error: No Package found for nonexistant

Expected results:
mc is installed, nonexistatnt is skipped
Comment 2 Jan Kurik 2017-12-06 06:15:02 EST
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:


This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:


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