mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-13 04:11:07 +00:00
Fixed a bug in broken reverse-depending packages: we need to loop untill no changes are detected.
This commit is contained in:
parent
8bd331e037
commit
4c244612e5
13
britney.py
13
britney.py
@ -1380,11 +1380,14 @@ class Britney:
|
||||
skip_archall = True
|
||||
else: skip_archall = False
|
||||
|
||||
for p in filter(lambda x: x[3] == arch, affected):
|
||||
if not self.binaries['testing'][arch][0].has_key(p[0]) or \
|
||||
skip_archall and self.binaries['testing'][arch][0][p[0]]['architecture'] == 'all': continue
|
||||
r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=[])
|
||||
if not r and p[0] not in broken: broken.append(p[0])
|
||||
nbroken = -1
|
||||
while len(broken) > nbroken:
|
||||
nbroken = len(broken)
|
||||
for p in filter(lambda x: x[3] == arch, affected):
|
||||
if not self.binaries['testing'][arch][0].has_key(p[0]) or \
|
||||
skip_archall and self.binaries['testing'][arch][0][p[0]]['architecture'] == 'all': continue
|
||||
r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=broken)
|
||||
if not r and p[0] not in broken: broken.append(p[0])
|
||||
|
||||
l = 0
|
||||
while l < len(broken):
|
||||
|
Loading…
x
Reference in New Issue
Block a user