Fix error handling in Base.downgrade and YumBaseCli.downgradePkgs.
Fix error handling in Base.update and YumBaseCli.updatePkgs.
Fix error handling in Base.remove and YumBaseCli.erasePkgs.
Fix error handling in Base.install and YumBaseCli.installPkgs.