I'm looking for information on whether there is an easier way to do this. I have set up a company repo, we use custom packages for a few items. What I want to avoid is this package being installed or updated from another repo (base, extras, updates, or any other repo that is installed).
Right now I have in
So this solves my above concern. However, when I actually want to install or update this package from the company repo, I end up having to run:
yum --disableexcludes=all --disablerepo="*" --enablerepo="company" package
This is ugly and prevents yum from using the other repos for dependencies and just
--disableexcludes="company" didn't work.
So is there a way to exclude "package*" from all repos except "company" without having to go into every repo file?