Bug 474740 - Unhelpful error message when installing an RPM for the wrong architecture
Summary: Unhelpful error message when installing an RPM for the wrong architecture
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: 10
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-05 04:17 UTC by Patrick Walton
Modified: 2009-01-15 16:33 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-15 16:33:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
the patches in git (3.60 KB, patch)
2008-12-05 09:55 UTC, Richard Hughes
no flags Details | Diff

Description Patrick Walton 2008-12-05 04:17:25 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.4) 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.
More details:
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."


Reproducible: Always

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.

Comment 1 Richard Hughes 2008-12-05 09:55:11 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.