Given: 0) CentOS/Oracle Linux (yum package manager)
1) RPM X depends on RPM Z
2) RPM Y depends on RPM Z
3) We have several versions of each package available, they depend from each other's specific version, so when we install X ver. 1.2 it installs Z ver. 1.2
Situation: We have 3 versions of X, Y, Z available in the repo - 1.0, 1.1 and 1.2 Currently installed version is 1.0 (of each X, Y and Z), installing X ver. 1.1. Consequently it brings out Y ver. 1.2. Then, as we have Z ver. 1.0 installed, yum decides to update it as well but finds the most recent version (1.2) and gets it. As a result when trying to upgrade X from 1.0 to 1.1 we get X, Y, Z of versions 1.2
Is there any way to forbid yum installing Z ver. 1.2 in this case without needing to update two packages simultaneously (X and Y to 1.1)?
--no-depsflags? - dlmeetei