From 080cfc23228f76825805643079f1a14e2d82fa2b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 12 Mar 2018 13:48:56 +0100 Subject: bin/delete-packages: ignore deletion-list and other abstract packages as install_target_providers --- bin/delete-packages | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/delete-packages b/bin/delete-packages index 7e843c5..258e441 100755 --- a/bin/delete-packages +++ b/bin/delete-packages @@ -110,7 +110,11 @@ trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT printf ' WHERE `binary_packages`.`is_to_be_deleted`' printf ' AND NOT EXISTS (' printf 'SELECT * FROM `install_target_providers`' + mysql_join_install_target_providers_binary_packages '' 'prov_bp' + mysql_join_binary_packages_repositories 'prov_bp' 'prov_r' + mysql_join_repositories_repository_stabilities 'prov_r' printf ' WHERE `install_target_providers`.`install_target`=`dependencies`.`depending_on`' + printf ' AND `repository_stabilities`.`name` NOT IN ("forbidden","virtual")' printf ');\n' printf ' SELECT DISTINCT "repo",`repositories`.`name`' -- cgit v1.2.3-70-g09d2