Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
installed_all
because installed_query
is filtered user input
`installed_query` could be missing packages. If we specify we want to upgrade a specific nevra that is not yet installed, then `installed_query` is empty because it is based on user input, but there could be other versions of the pkg installed. Eg: if kernel-1 and kernel-3 are installed and we specify we want to upgrade kernel-2, nothing should be done because we already have higher version, but now `installed_query` would be empty and kernel-2 would be installed. Therefore, we need to use `installed_all`.
- Loading branch information