Red Hat Bugzilla – Bug 474740
Unhelpful error message when installing an RPM for the wrong architecture
Last modified: 2009-01-15 11:33:17 EST
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:188.8.131.52) Gecko/2008111217 Fedora/3.0.4-1.fc10 Firefox/3.0.4
There's a usability problem when installing an RPM for the wrong architecture. The dialog box is as follows:
Local install failed
Installing the local file failed.
More information is available in the detailed report.
Can't install X.rpm
This will lead to confusion. A better error message would be something like "Incorrect architecture 'x86_64'. Please use a package with the architecture 'i386' instead."
Steps to Reproduce:
Download an RPM of the x86_64 architecture on the i386 architecture and try to install it by double-clicking on it.
Created attachment 325824 [details]
the patches in git
I've applied these patches to PackageKit and gnome-packagekit in git master. I can't backport this to 0.3.x as that branch is in string freeze right now. If you think it is required, I can re-use internal error, so the dialog is still unhelpful, but the error description is at least correct.