consistently fail if Smart* packagemanager actions fail
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 16 May 2014 15:28:11 +0000 (17:28 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 22 May 2014 15:43:48 +0000 (17:43 +0200)
commit71e7a0f3a432828e5bd5498297051aa37e7f0a59
treec12d129b7dfb0667697a12f0e2553e11d6345db7
parent1038d077588956448a423ed1c3887524a90d6532
consistently fail if Smart* packagemanager actions fail

These failure conditions come with an error message attached and the
conditions aren't workaroundable (otherwise this would have been done
instead of returning failure), so not erroring out here means that we
execute dpkg later on with a known not-working ordering adding insult
(our own error messages at the end) to injury (dpkg failure).
apt-pkg/packagemanager.cc
apt-pkg/packagemanager.h