summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-01-13 16:19:24 +0100
committerJonas Smedegaard <dr@jones.dk>2017-01-13 16:19:24 +0100
commit8d7a52d331eee26c44ee8ac68a72b0b2fe0a0750 (patch)
tree3b873321bace396bea4f715e26e392abbea769be /apt
parent9f01cd4e1a5f6d52b15094b9ae485abc57adc5c5 (diff)
Really avoid removals without favoring downgrades (and add comment with bug references to correct file).
Diffstat (limited to 'apt')
-rw-r--r--apt/apt.conf.d/99avoid-removals-local3
-rw-r--r--apt/apt.conf.d/99zz-autoremove-suggests-local1
2 files changed, 2 insertions, 2 deletions
diff --git a/apt/apt.conf.d/99avoid-removals-local b/apt/apt.conf.d/99avoid-removals-local
index d45dcdd..77c92ea 100644
--- a/apt/apt.conf.d/99avoid-removals-local
+++ b/apt/apt.conf.d/99avoid-removals-local
@@ -1 +1,2 @@
-Aptitude::ProblemResolver { SolutionCost "removals"; }
+// avoid removals (see bug#762932, #798240)
+Aptitude::ProblemResolver::Remove-Level "maximum";
diff --git a/apt/apt.conf.d/99zz-autoremove-suggests-local b/apt/apt.conf.d/99zz-autoremove-suggests-local
index c4f6eaa..d1a9c95 100644
--- a/apt/apt.conf.d/99zz-autoremove-suggests-local
+++ b/apt/apt.conf.d/99zz-autoremove-suggests-local
@@ -1,2 +1 @@
-// avoid removals (see bug#762932, #798240)
APT::AutoRemove::SuggestsImportant "false";