From 7d6990d9332dc8c6d1056678a918568dd95ca2c3 Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Wed, 29 Jul 2015 11:13:07 +0200 Subject: [PATCH] By default, package is not autoremoved, if it either suggested or recommened, but not is dependency for some other. With this change, either package is dependency of manually installed, either is is subject to autoremove. --- cdist/conf/type/__apt_norecommends/manifest | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cdist/conf/type/__apt_norecommends/manifest b/cdist/conf/type/__apt_norecommends/manifest index 881c2427..6fdc2d93 100755 --- a/cdist/conf/type/__apt_norecommends/manifest +++ b/cdist/conf/type/__apt_norecommends/manifest @@ -30,6 +30,8 @@ case "$os" in --source - << DONE APT::Install-Recommends "0"; APT::Install-Suggests "0"; +APT::AutoRemove::RecommendsImportant "0"; +APT::AutoRemove::SuggestsImportant "0"; DONE ;; *)