aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-07-28 13:15:32 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-07-28 13:15:32 +0000
commit4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b (patch)
treed3b2c3259b8518367cfa52329f019b43e45ae4aa /URPM.pm
parent8f468c2310106a3c0b3fd57b2d156db2ed4935fa (diff)
downloadperl-URPM-4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b.tar
perl-URPM-4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b.tar.gz
perl-URPM-4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b.tar.bz2
perl-URPM-4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b.tar.xz
perl-URPM-4e1b93d8e18f451f76fd6f8c966c0fbeb3b8c56b.zip
unselect current package if an avoided package is already selected
Patch by Anssi Hannula, fixes bug #52145 If package 'a' Conflicts on 'b', and user (or a dependency chain) tries to install both at the same time, perl-URPM will only detect the conflict if package 'a' gets selected first (this depends on hdlist order), as _set_rejected_from is only called in one direction from _handle_conflicts and it does not detect that a package it is about to reject_from is already selected. This bug currently causes a failure in urpmi handle-conflict-deps2 testcase. This commit checks if avoided package is already selected, and unselects current package in such a case
Diffstat (limited to 'URPM.pm')
0 files changed, 0 insertions, 0 deletions