Description of problem:
When a user tries to install a software that is already installed via Firefox (click on the rpm and choose "Software Installer", the error message says: "Sorry this did not work. Installation of xxx RPM failed".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a RPM via Firefox
2. Try to install the same RPM a second time
Error message does not say that the package is already installed, but only gives an error.
Error message should state that the package is already installed.
Created attachment 1240432 [details]
Example of error message when attempting to install a package that is already installed.
The attachment shows the misleading error message when attempting to install a package that is already up to date on the system.
The issue is still reproducible with gnome-software-3.22.7-5.el7.x86_64 available in RHEL7.5. I tried in on my test vm and able to reproduce it easily.
If you need any further details or logs let me know.