exclude certain packages from update in Satellite

Latest response

Does anyone know how to configure a system in the Satellite so that it never receives updates to a given RPM(s)? This is pretty easy to do with YUM in /etc/yum.conf using exclude=, and I even found a way using RHN with the registration wizard (https://access.redhat.com/site/documentation/en-US/Red_Hat_Network/5.0.0/html/Reference_Guide/s2-software.html#fig-registrationwizard) but can't find any way to do this using the Satellite.

Responses

Hi Cory,

Did you want to make it so that the Satellite Server would not have certian rpms for itself not update for it's own OS, or to omit the availability of the rpms to other systems?

If it is the former, I believe you have the answer above as you mentioned with the 'exclude' directive in /etc/yum.conf file.

To be honest, I would have approached this by deploying yum config as a centrally managed configuration file and then subscribing systems that I wanted excluded from updating the rpm using the 'exclude' method you have already mentioned.

Cory, some instructions for what Pixel above mentioned, he is correct about what he says for configuration management.

Check the documentation at paragraphs 1.3.0 to the end of that section at this link going to Red Hat's documentation.

You can push this file or any other configuration file with the activation key you use when either building (kickstarting) or registering (bootstrap script) a system to your Satellite.

There are some youtube videos that Red Hat published that might be of interest to you, go to youtube.com and search for "red hat satellite".

Two videos in particular by Thomas Cameron from the Red Hat Summit may be of interest to you tips and tricks satellite part 1 (See 12minutes & 30 seconds into this video for configuration channels) and part two of that topic. And here are the presentations from the 2013 Red Hat Summit.

Thanks, guys. I was under the impression that rhn_check would not look at the yum config before applying patches from the satellite. If that's not the case then obviously /etc/yum.conf is the place to put the packages to be ignored.

Hi Cory, I've used the /etc/yum.conf on a few systems where certian rpms are to be never changed while being still connected to a a Satellite server.

Take care,
Rem

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.