[Piuparts-commits] [piuparts] 01/01: revert 3176cd3f and hope anbe provides a proper fix soon

Holger Levsen holger at moszumanska.debian.org
Mon Jan 27 13:45:05 UTC 2014


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

holger pushed a commit to branch develop
in repository piuparts.

commit 1966d130e4bba68e83758fa3e8efcdc1e1095fb5
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jan 27 14:44:43 2014 +0100

    revert 3176cd3f and hope anbe provides a proper fix soon
---
 debian/changelog | 2 --
 piuparts.py      | 7 -------
 2 files changed, 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 51a7c73..97edb79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -43,8 +43,6 @@ piuparts (0.57) UNRELEASED; urgency=low
 
   [ Holger Levsen ]
   * piuparts.py:
-    - Check the installation status of the packages after
-      installing them. Thanks to Julien Cristau for the patch! (Closes: #718544)
     - Report adequate version used.
 
  -- Holger Levsen <holger at debian.org>  Fri, 10 Jan 2014 01:00:43 +0100
diff --git a/piuparts.py b/piuparts.py
index 2b109de..3669afe 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1078,13 +1078,6 @@ class Chroot:
                 self.run(["dpkg", "-i"] + tmp_files, ignore_errors=True)
                 self.run(apt_get_install)
 
-            retcode, output = self.run(["dpkg-query", "-f", "${Package} ${Status}\n", "-W"] + [os.path.basename(f).split('_')[0] for f in package_files])
-            for line in output.splitlines():
-                pkg, desired, whatever, status = line.split()
-                if status != 'installed':
-                    logging.error("Installation of %s failed", pkg)
-                    panic()
-
             logging.info ("Installation of %s ok", tmp_files)
 
             if with_scripts:

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