Always reject packages with unsatisfiable dependencies

Partially revert commit ac66e311 which caused packages with unsatisfiable
dependencies to only get rejected if they were not in testing. In Ubuntu we
always want to block those.
This commit is contained in:
Martin Pitt 2016-07-11 23:55:17 +02:00
parent 4b5c4dc266
commit c40edb6cff

View File

@ -1665,7 +1665,7 @@ class Britney(object):
# find unsatisfied dependencies for the binary package
if binary_u.architecture != 'all' or arch in self.options.nobreakall_arches:
is_valid = self.excuse_unsat_deps(pkg, src, arch, suite, excuse)
if not is_valid and not source_t:
if not is_valid:
update_candidate = False
# if there are out-of-date packages, warn about them in the excuse and set update_candidate