Bug 11369 - A non-compatible arch rpm results in a misleading message
Summary: A non-compatible arch rpm results in a misleading message
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-11 17:47 UTC by Mark Hatle
Modified: 2007-04-18 16:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-06-07 19:01:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Mark Hatle 2000-05-11 17:47:42 UTC
If you try to install a PPC.rpm on an intel machine you (usually) get the
following message:

error: failed dependencies:
	ld.so.1 is needed by zsh-3.0.5-15

when the correct error should be:

package %s-%s-%s is for a different architecture


The misleading error message seems to be because the dependencies are
checked first, and then the arch, os, etc are checked next.  It would be
very helpful to check the arch/os first and then the dependencies.

Comment 1 Jeff Johnson 2000-08-07 13:38:39 UTC
This problem will be addressed after rpm-4.0 is released.

Comment 2 Alan Cox 2002-12-14 23:23:03 UTC
Confirmed bug still present in 8.0


Comment 3 Paul Nasrat 2005-06-07 19:01:36 UTC
rpm -q rpm; uname -m
rpm-4.4.1-22.i386
i686

rpm -ivh yaboot-1.3.12-9.ppc.rpm
Preparing...                ########################################### [100%]
        package yaboot-1.3.12-9 is intended for a ppc architecture



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