mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-26 01:41:30 +00:00
Let's enable the second round again, we'll discuss about optimizations
later.
This commit is contained in:
parent
24cf4c0dbb
commit
0db947c498
34
britney.py
34
britney.py
@ -2167,24 +2167,22 @@ class Britney:
|
|||||||
nuninst[arch].remove(p)
|
nuninst[arch].remove(p)
|
||||||
|
|
||||||
# broken packages (second round, reverse dependencies of the first round)
|
# broken packages (second round, reverse dependencies of the first round)
|
||||||
# XXX: let's disable this block, we don't need the list of all the broken packages
|
while to_check:
|
||||||
# in the archive after an upgrade from unstable to testing.
|
j = to_check.pop(0)
|
||||||
# while to_check:
|
if j not in binaries[arch][0]: continue
|
||||||
# j = to_check.pop(0)
|
for p in binaries[arch][0][j][RDEPENDS]:
|
||||||
# if j not in binaries[arch][0]: continue
|
if p in broken or p not in binaries[arch][0]: continue
|
||||||
# for p in binaries[arch][0][j][RDEPENDS]:
|
r = systems[arch].is_installable(p)
|
||||||
# if p in broken or p not in binaries[arch][0]: continue
|
if not r and p not in broken:
|
||||||
# r = systems[arch].is_installable(p)
|
broken.append(p)
|
||||||
# if not r and p not in broken:
|
to_check.append(p)
|
||||||
# broken.append(p)
|
if not (skip_archall and binaries[arch][0][p][ARCHITECTURE] == 'all'):
|
||||||
# to_check.append(p)
|
nuninst[arch].append(p)
|
||||||
# if not (skip_archall and binaries[arch][0][p][ARCHITECTURE] == 'all'):
|
elif r and p in nuninst[arch + "+all"]:
|
||||||
# nuninst[arch].append(p)
|
broken.remove(p)
|
||||||
# elif r and p in nuninst[arch + "+all"]:
|
to_check.append(p)
|
||||||
# broken.remove(p)
|
if not (skip_archall and binaries[arch][0][p][ARCHITECTURE] == 'all'):
|
||||||
# to_check.append(p)
|
nuninst[arch].remove(p)
|
||||||
# if not (skip_archall and binaries[arch][0][p][ARCHITECTURE] == 'all'):
|
|
||||||
# nuninst[arch].remove(p)
|
|
||||||
|
|
||||||
# if we are processing hints, go ahead
|
# if we are processing hints, go ahead
|
||||||
if hint:
|
if hint:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user