RPM

Comment 1 for bug 651520

Revision history for this message
In , Takahiro (takahiro-redhat-bugs) wrote :

Description of problem:
  rpm packages for different architectures can be installed without any
  warning messages on x86_64 architecture.

Version-Release number of selected component (if applicable):
  N/A

How reproducible:
  install i686 kernel by rpm command on x86_64 based system.

Actual results:

# uname -mr
2.6.18-92.el5 x86_64
# rpm -ivh kernel-2.6.18-120.el5.i686.rpm
Preparing... ########################################### [100%]
   1:kernel ########################################### [100%]
#

Expected results:

rpm command should display warning messages and stop installing the package.
This is a expected result on i686 system.

# uname -mr
2.6.28-rc4-dm i686
# rpm -ivh kernel-2.6.18-120.el5.x86_64.rpm
Preparing... ########################################### [100%]
 package kernel-2.6.18-120.el5 is intended for a x86_64 architecture
 installing package kernel-2.6.18-120.el5 needs 45MB on the / filesystem

Additional info:
  - I tried to install other packages on x86_64 and saw the same problem.
  - ia64 packages can be also installed without any warnings.