提交 8f5942aa 编写于 作者: I Ivo De Decker

dak rm: allow removal of binaries without source

When removing binaries from a source, do the removal, even if the source is
not in the suite.

Normally, if a binary is in the suite, the source of that binary should also
be in the suite. However, it seems that this is not always the case. As an
example, some binaries that were prop-uped into unstable don't seems to have
the corresponding source in unstable.

This change allow dak rm to remove these binaries.
上级 78c4cc59
......@@ -287,7 +287,6 @@ def main():
JOIN files_archive_map af ON b.file = af.file_id AND af.archive_id = archive.id
JOIN component c ON af.component_id = c.id
JOIN source s ON b.source = s.id
JOIN src_associations sa ON s.id = sa.source AND sa.suite = su.id
JOIN newest_source on s.source = newest_source.source AND su.id = newest_source.suite
WHERE %s %s %s %s %s
""" % (q_outdated, con_packages, con_suites, con_components, con_architectures))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册