I have a package, for just simplicity, named as 'main1', which depends on 'dependant-package' - in the rpm, there is no version number requirement specified, so in my system, yum installed 'dependant-package 1.0'.
When I got a new package, named as 'main2', which depends on 'dependant-package = 2.0', yum strictly refuse to upgrade this dependant package:
--> Finished Dependency Resolution Error: Package: main2.noarch (new-repo) Requires: dependant-package = 2.0 Installed: dependant-package-1.0-1.noarch (old-repo) dependant-package = 1.0-1 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
The new packages, and repo looks correct, so not clear what's going on. If I force yum to pick the new repo, interestingly it works:
yum install --disablerepo=* --enablerepo=new-repo main2
What's going on? Why yum doesn't even try to upgrade?