yum happily installs packages that are conflicting with each other as long as they are not installed at once. Version-Release number of selected component (if applicable): yum-3.2.0-1.fc7 How reproducible: always Steps to Reproduce: yum -y install leafnode yum -y install suck or yum -y install suck yum -y install leafnode Actual results: both packages get installed Expected results: Same as when running yum install suck leafnode --> Running transaction check ---> Package leafnode.i386 0:1.11.5-4.fc7 set to be updated ---> Package suck.i386 0:4.3.2-14.fc7 set to be updated --> Processing Conflict: suck conflicts leafnode --> Finished Dependency Resolution Error: suck conflicts with leafnode
I'm pretty sure this was fixed in 3.2.1 which is in updates-testing and rawhide. please try it and reopen if it is not fixed
Tested CVS HEAD (Tue Jun 26 2007): yum -y install leafnode yum -y install suck now correctly issues an error yum -y install suck yum -y install leafnode still ignores the conflict.
Created attachment 157909 [details] corrects the check installed pkgs for conflicts-with ts members Fixes the conflicts case though we should probably also make leafnode and suck both have a mutual conflict to each other, not just one of them.
Patch seams to search for the packages name only. AFAIK conflicts match against provides. Ther also is another problem with the already existing conflict code that checks the package's conflicts against the other new packages: This check is only done once per package. But the conflicts need to be checked against every packages that is added to the transaction. As their might (and normally will) be added packages after a resolving loop the conflicts checked in that loop won't be checked against these packages. Scenario Install: A, libA conflicts: libB, B requires: libB resolveDeps: no conflicts, requires libB add libB resolveDeps: everything ok
Created attachment 158143 [details] fix for both problems described above
yum-3.2.2-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
yum-3.2.2-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
yum-3.2.3-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.