[Apt-listbugs-commits] [apt-listbugs] 02/02: Also suggest -nF for unattended upgrades

Francesco Poli frx-guest at moszumanska.debian.org
Wed Mar 19 21:21:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

frx-guest pushed a commit to branch master
in repository apt-listbugs.

commit 6c4d12647e289f2367f332aa1af597644342b006
Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
Date:   Mon Mar 17 23:45:50 2014 +0100

    Also suggest -nF for unattended upgrades
---
 debian/README.Debian | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index f5971ea..6b34672 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -142,12 +142,27 @@ should become
 
     DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs -y apt";};
 
-Please note that this configuration could even be made conditional:
+Finally, if you want apt-listbugs to automatically pin all buggy packages
+and then let the unattended process upgrade the remaining packages,
+you can obtain this behavior by using the "force-pin" option "-F"
+(combined with the "no" option "-n", in order to make the process stop
+in presence of network errors and the like):
+
+    DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs -nF apt";};
+
+Please note that you will have to configure the unattended upgrade
+process to attempt the upgrade twice in a row: the first attempt will
+pin all the buggy packages, if any; the second attempt will upgrade
+the remaining packages.
+
+Please also note that this configuration could even be made conditional:
 
     DPkg::Pre-Install-Pkgs {"/usr/sbin/apt-listbugs $APT_LISTBUGS_OPTS apt";};
 
 This way, apt-listbugs will avoid stopping the installation/upgrade
 process *only* if an APT_LISTBUGS_OPTS environment variable is set to "-y".
+Or it will automatically pin buggy packages, if an APT_LISTBUGS_OPTS
+environment variable is set to "-nF".
 Otherwise, if APT_LISTBUGS_OPTS is unset (or set to a zero-length
 string), apt-listbugs will behave as usual.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/apt-listbugs/apt-listbugs.git



More information about the Apt-listbugs-commits mailing list