From ac445388d98e4362076d23dc88c50b57308d3c05 Mon Sep 17 00:00:00 2001 From: Cedric Dufour Date: Fri, 4 Sep 2015 10:08:42 +0200 Subject: [PATCH] Keep old configuration during update --- cheat/cheatsheets/apt-get | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheat/cheatsheets/apt-get b/cheat/cheatsheets/apt-get index f46e1ef..b0347ce 100644 --- a/cheat/cheatsheets/apt-get +++ b/cheat/cheatsheets/apt-get @@ -23,3 +23,6 @@ apt-get -o Dir::Cache="/path/to/destination/dir/" -o Dir::Cache::archives="./" i # Show apt-get installed packages. grep 'install ' /var/log/dpkg.log + +# Silently keep old configuration during batch updates +apt-get update -o DPkg::Options::='--force-confold' ...