Hide Forgot
Description of problem: When running pkcon in the following situations. Command is executed but actual result is of none or nothing is needed to be done. Expected a return code of 5 - 'Nothing useful was done.' But a status of 0 is returned. pkcon repo-enable a already enabled repo. pkcon repo-disable a already disabled repo. pkcon get-depends setup (no depends - no results) pkcon get-requires mc (no requires - no results) Version-Release number of selected component (if applicable): PackageKit-0.8.9-8.el7 How reproducible: always Steps to Reproduce: 1. open terminal 2. Run one of the 4 commands (scenarios listed above) 3. Actual results: Exit status code of 0 Expected results: Exit status code of 5 Additional info:
(In reply to smatula from comment #0) > pkcon repo-enable a already enabled repo. > pkcon repo-disable a already disabled repo. This probably should return exit code 5, although isn't a huge problem IMO. > pkcon get-depends setup (no depends - no results) > pkcon get-requires mc (no requires - no results) These are tasks, and so we never perform an action. It's probably correct to say that by showing no results the return code is success, i.e. we showed the user what they wanted to see. This should return 0 on success always. Richard.
we're not going to get pkcon fixes for 7.0. yum is the recommended commandline client for software installation, anyway
Development Management has reviewed and declined this request. You may appeal this decision by reopening this request.