[root@localhost home]# rpm -ivh jdk-1_5_0-linux-i586.rpm
warning: jdk-1_5_0-linux-i586.rpm: Header V3 DSA signature: NOKEY, key ID f6354a6d
Preparing... ########################################### [100%]
package jdk-1.6.0_14-fcs.i586 (which is newer than jdk-1.5.0-fcs.i586) is already installed
[root@localhost home]# updatedb
[root@localhost home]# locate jdk-1.5.0-fcs.i586
[root@localhost home]# rpm -ivh --oldpackage --force /export/home/jdk-1_5_0-linux-i586.rpm
warning: /export/home/jdk-1_5_0-linux-i586.rpm: Header V3 DSA signature: NOKEY, key ID f6354a6d
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]