[Piuparts-commits] [piuparts] 03/08: problems_and_no_force_error.conf: detect failed removal of essential package

Holger Levsen holger at layer-acht.org
Tue Jan 24 10:45:10 UTC 2017


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

holger pushed a commit to branch develop
in repository piuparts.

commit 662c9118f551a72a49eb48bfed8855ddfb1f7234
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Jan 24 05:24:30 2017 +0100

    problems_and_no_force_error.conf: detect failed removal of essential package
    
    apt in stretch says:
    E: Essential packages were removed and -y was used without --allow-remove-essential
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog                                | 2 ++
 known_problems/problems_and_no_force_error.conf | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0b36495..7bdfff2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ piuparts (0.75) UNRELEASED; urgency=medium
   * Detect more database setup issues.
   * known_problems/piuparts-depends-dummy_error.conf: Recognize the failure
     from 'apt-get install piuparts-depends-dummy.deb'.
+  * known_problems/problems_and_no_force_error.conf: Recognize the apt 1.1
+    message on attempted removal of essential packages.
 
  -- Andreas Beckmann <anbe at debian.org>  Sun, 15 Jan 2017 20:34:58 +0100
 
diff --git a/known_problems/problems_and_no_force_error.conf b/known_problems/problems_and_no_force_error.conf
index f6ab54b..878e213 100644
--- a/known_problems/problems_and_no_force_error.conf
+++ b/known_problems/problems_and_no_force_error.conf
@@ -1,7 +1,7 @@
 #
 # detect packages with problems because of not enough force
 #
-PATTERN='E: There are problems and -y was used without --force-yes'
+PATTERN='E: There are problems and -y was used without --force-yes|E: Essential packages were removed and -y was used without --allow-remove-essential'
 WHERE='fail bugged affected'
 ISSUE=0
 HEADER='Packages with failed logs because of not enough force'

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



More information about the Piuparts-commits mailing list