|
|
@ -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:
|
|
|
|