Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 249299 - RFE: option to ignore global excludes
RFE: option to ignore global excludes
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jeremy Katz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-07-23 11:48 EDT by Ian Collier
Modified: 2014-01-21 17:59 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-09-13 14:47:38 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 Ian Collier 2007-07-23 11:48:38 EDT
If I want to avoid accidentally updating something at the wrong time (say, a
kernel module which needs a newer kernel) I may place a global exclusion in
/etc/yum.conf.  However, there doesn't now seem to be a way of deliberately
updating this thing without re-editing yum.conf.  "yum list" also won't even
tell me that a new version of it is available.

What I propose is one or more of the following:

* an option "--include=xxx" which can override previously specified excludes;
* an option "--noexclude" which just ignores all previously specified excludes;
* if I name the package exactly on the command line then don't exclude it,
despite what the global excludes say (perhaps this should only apply to "yum list").

For now I suppose "yum -c /dev/null" or "yum -c /etc/yum.conf.noexclude" would
work, but it's less convenient if you ever actually edit your yum configuration
since you then have to keep two files in step with each other.
Comment 1 Jeremy Katz 2007-09-13 14:47:38 EDT
This isn't something that I really see as a common request.  If you really want
it, you could easily implement it as a plugin.  But it's not something that
we're going to do for the yum core.

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