From 2d583a8a688db7823cc2d9bb18ed97ea711f2057 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 12 Sep 2019 14:05:09 +0200 Subject: `calculate_maximal_moveable_set` should deliberately break dependencies of to-be-deleted packages --- bin/bootstrap-mysql | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql index 2c63b2a..636ee60 100755 --- a/bin/bootstrap-mysql +++ b/bin/bootstrap-mysql @@ -272,6 +272,8 @@ fi printf ' ON `replaced_bpir`.`replaced_by`=`moveable_bpir`.`id`' printf ' JOIN `binary_packages_in_repositories` AS `repl_bpir`' printf ' ON `repl_bpir`.`id`=`replaced_bpir`.`id`' + # deliberately break to-be-deleted packages + printf ' AND NOT `repl_bpir`.`is_to_be_deleted`' mysql_join_binary_packages_in_repositories_install_target_providers 'repl_bpir' mysql_join_binary_packages_in_repositories_repositories 'repl_bpir' 'repl_r' mysql_join_install_target_providers_dependencies_with_versions -- cgit v1.2.3-70-g09d2