Red Hat Bugzilla – Bug 848516
when pkcon resolve performed on invalid package there should be an error
Last modified: 2012-11-01 06:02:12 EDT
Description of problem:
when pkcon resolve performed on invalid package there should be an error no just silent fail. Exit code should be set to non-zero value as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.execute 'pkcon resolve invalid_package'
nothing and return code is 0
some error that package wasn't found and return code to non-zero
Resolve in the API is used to find if a package with a specific name exists, e.g. like SearchName but with no wildcarding. I think it's correct that resolve returns with success when there are no packages with that name found, just like it does when you search for something that doesn't exist.