[Piuparts-commits] [piuparts] 10/10: disable apt installing .deb files while investigating problems

Holger Levsen holger at layer-acht.org
Sun Jan 15 21:24:40 UTC 2017


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

holger pushed a commit to branch master
in repository piuparts.

commit 6ac6ab90dde2799003340162581e5efabc447b36
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Jan 15 21:11:07 2017 +0100

    disable apt installing .deb files while investigating problems
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 master-bin/detect_piuparts_issues.in | 1 +
 piuparts.py                          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 8734faf..264177a 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -64,6 +64,7 @@ for SECTION in $SECTIONS ; do
 		rgrep -l -e 'psql: FATAL:  password authentication failed for user' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'createuser: could not connect to database postgres: could not connect to server: No such file or directory' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'Firebird .* server already running.' $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -e 'E: Command line option --allow-downgrades is not understood' $MASTER/$SECTION/$subdir >> $FILE
 		find $MASTER/$SECTION/$subdir -name '*.log' -size 0 >> $FILE
 	done
 done
diff --git a/piuparts.py b/piuparts.py
index 33c7499..8c9363a 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1185,6 +1185,7 @@ class Chroot:
             #   dummy package
             (status, output) = run(["dpkg-query", "-f", "${Version}\n", "-W", "apt"], ignore_errors=True)
             apt_can_install_debs = LooseVersion(output.strip()) >= LooseVersion("1.1")
+            apt_can_install_debs = False
 
             if with_scripts:
                 self.run_scripts("pre_install")

-- 
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