control: tags -1 +pending Hi Julien,
On Mittwoch, 18. Dezember 2013, Julien Cristau wrote: > diff --git a/piuparts.py b/piuparts.py > index 9134924..4d357ea 100644 > --- a/piuparts.py > +++ b/piuparts.py > @@ -1202,6 +1202,13 @@ 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: > thanks! care to resend this as a git patch? cheers, Holger
signature.asc
Description: This is a digitally signed message part.