pkcon returns exit status 0 even after when there is an error during installation/uninstallation/etc.
Steps to Reproduce:
On a debian system
pkcon install /tmp/abc.deb
On a rpm system
pkcon install /tmp/abc.rpm
Exit status is 0
Exit status should be non-zero to indicate that PackageKit was not able to install the package.
OS: Ubuntu 8.10
(But this is reproducible on most all the distributions that I tried)
Author: Richard Hughes <firstname.lastname@example.org>
Date: Mon Jul 20 16:56:51 2009 +0100
Fix the exit codes for pkcon and pkmon, and document them. Fixes fd#22819
Thanks for reporting this bug.