Is there a way to tell yum to install a package, selecting a version of that package that would be satisfied by currently installed dependencies?
For example, if I'm installing a pecl package and I currently have installed php-5.4.11 but a newer php-5.4.14 is available. Rather than install the new package (and update all php packages to 5.4.14) I just want it to select an older version of the package I requested to be installed without updating all the others (or fail if this cannot be done).
This is a specific case in which I know I could exclude or fix the php package but I'm looking for a generic option that would apply to any install.
Something like: yum install php-pecl-xxxx --no-updates