mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-24 20:01:15 +00:00
Cleanup old binaries even when they are still in unstable
Old binaries in testing are usually old versions of libraries that where smooth-updated. These should only be kept in testing as long as they are needed to install other packages in testing. When they are no longer needed, they can be removed, even if the old library is still in unstable (where it might be needed for reverse dependencies which are not in testing). Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
parent
88bf620896
commit
3326f948db
@ -569,8 +569,7 @@ def old_libraries(sources, packages, same_source=same_source):
|
||||
for arch in testing:
|
||||
for pkg_name in testing[arch][0]:
|
||||
pkg = testing[arch][0][pkg_name]
|
||||
if pkg_name not in unstable[arch][0] and \
|
||||
not same_source(sources_t[pkg[SOURCE]][VERSION], pkg[SOURCEVER]):
|
||||
if not same_source(sources_t[pkg[SOURCE]][VERSION], pkg[SOURCEVER]):
|
||||
migration = "-" + "/".join((pkg_name, arch, pkg[SOURCEVER]))
|
||||
removals.append(MigrationItem(migration))
|
||||
return removals
|
||||
|
Loading…
x
Reference in New Issue
Block a user