|
|
@@ -348,8 +348,6 @@ deppossi_ok_found(struct pkginfo *possdependee, struct pkginfo *requiredby,
|
|
|
}
|
|
|
|
|
|
*matched = true;
|
|
|
- if (fc_depends)
|
|
|
- thisf = (dependtry >= 4) ? found_forced : found_defer;
|
|
|
debug(dbg_depcondetail," removing possdependee, returning %d",thisf);
|
|
|
return thisf;
|
|
|
}
|
|
|
@@ -451,9 +449,6 @@ deppossi_ok_found(struct pkginfo *possdependee, struct pkginfo *requiredby,
|
|
|
}
|
|
|
|
|
|
unsuitable:
|
|
|
- if (fc_depends)
|
|
|
- thisf = (dependtry >= 4) ? found_forced : found_defer;
|
|
|
-
|
|
|
debug(dbg_depcondetail, " returning %d", thisf);
|
|
|
(*interestingwarnings)++;
|
|
|
|
|
|
@@ -612,6 +607,13 @@ dependencies_ok(struct pkginfo *pkg, struct pkginfo *removing,
|
|
|
debug(dbg_depcondetail," found %d",found);
|
|
|
if (thisf > found) found= thisf;
|
|
|
}
|
|
|
+ if (fc_depends) {
|
|
|
+ thisf = (dependtry >= 4) ? found_forced : found_defer;
|
|
|
+ if (thisf > found) {
|
|
|
+ found = thisf;
|
|
|
+ debug(dbg_depcondetail, " rescued by force-depends, found %d", found);
|
|
|
+ }
|
|
|
+ }
|
|
|
debug(dbg_depcondetail, " found %d matched %d possfixbytrig %s",
|
|
|
found, matched,
|
|
|
possfixbytrig ? pkg_name(possfixbytrig, pnaw_nonambig) : "-");
|