Artificial intelligent assistant

How to block yum from upgrading obsoleted package? Is there any way to prevent yum from upgrading a package obsoleted by another? I have created a custom repo containing some packages, among them **`openh323-devel`**. In current versions of CentOS, **`openh323`** is marked as being obsoleted by OPAL, but I don't want to compile other software (namely YATE) against OPAL. I have **`openh323-devel`** installed, but every time I do `yum update`, it wants me to upgrade it to OPAL. Is there any way I can tell **`yum`** that I permanently don't want to use OPAL (or any other superseding package for that matter) in a manner similar to apt pinning? Of course, I can `--exclude` specific packages, but that's not what I want.

You should be able to permanently add an exclude rule by adding it to your `/etc/yum.conf` file. You can also use wildcards to exclude more than one package based on a pattern. Try:


exclude=*OPAL*

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy f35fdd4472c9a120a265339579107dde