From: Joachim Breitner Date: Sat, 2 Jan 2016 13:21:27 +0000 (+0000) Subject: Removal dep check only considers latest sources (Closes: #792578) X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d7b8a9f21f1e4bc324fe113dc0a295eeb1dda729;p=dak.git Removal dep check only considers latest sources (Closes: #792578) --- diff --git a/daklib/utils.py b/daklib/utils.py index cdec3a77..9d45cdc8 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1256,7 +1256,7 @@ def check_reverse_depends(removals, suite, arches=None, session=None, cruft=Fals FROM source s JOIN source_metadata sm ON s.id = sm.src_id WHERE s.id in - (SELECT source FROM src_associations + (SELECT src FROM newest_src_association WHERE suite = :suite_id) AND sm.key_id in :metakey_ids GROUP BY s.id, s.source'''