Packages mentioned in `/etc/rhn/spacewalk-repo-sync/yum.conf` for exclusion are not excluded by spacewalk-repo-sync on Red Hat Satellite.
Environment
- Red Hat Satellite 5.5
- Red Hat Satellite 5.6
Spacewalk-repo-syncutility
Issue
-
spacewalk-repo-synclacks include/exclude features. -
Pakcages listed in
/etc/rhn/spacewalk-repo-sync/yum.conffor exclusion are not excluded bySpacewalk-repo-syncwhile syncing the local repository on satellite.
Resolution
-
This issue is fixed in Red Hat Satellite 5.6 with release of RHBA-2014-0379.
-
For reference
/etc/rhn/spacewalk-repo-sync/yum.conffile.
[channel-name]
exclude=package* <----- package for excluding
- In previous Satellite version, use exclude option from command line with
spacewalk-repo-sync:
Workaround ->
-e FILTERS, --exclude=FILTERS
List of excluded packages
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
