error: cannot open Packages index using db3

core-server:/javainstal# rpm --install j2sdk-1_4_2_04-linux-i586.rpmerror: cannot open Packages index using db3 - No such file or directory (2)error: cannot open Packages database in /var/lib/rpmcore-server:/javainstal#can eniwan help me pls :(
[286 byte] By [djbaby2jaar] at [2007-9-30 3:45:32]
# 1
A work-around could be to use the tar.gz version, not the .rpm one.
BIJ001 at 2007-6-29 14:56:37 > top of Java-index,Administration Tools,Sun Connection...
# 2

i downloaded te j2sdk-1_4_2_04-linux-i586-rpm.bin

so i did chmod 777 j2sdk-1_4_2_04-linux-i586-rpm.bin

than, ./j2sdk-1_4_2_04-linux-i586-rpm.bin

i get tis

Sun Microsystems, Inc.

Binary Code License Agreement

for the

JAVATM 2 SOFTWARE DEVELOPMENT KIT (J2SDK), STANDARD EDITION, VERSION 1.4.2_X

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE SOFTWARE

.....

For inquiries please contact: Sun Microsystems, Inc., 4150 Network Circle,

Santa Clara, California 95054, U.S.A.

(LFI#135955/Form ID#011801)

Do you agree to the above license terms? [yes or no]

yes

Unpacking...

Checksumming...

0

0

Extracting...

UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).

replace j2sdk-1_4_2_04-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: y

inflating: j2sdk-1_4_2_04-linux-i586.rpm

Done.

core-server:/home/mail#

so now i hafe that file j2sdk-1_4_2_04-linux-i586.rpm

djbaby2jaar at 2007-6-29 14:56:37 > top of Java-index,Administration Tools,Sun Connection...
# 3

ok nu hafe i this error

core-server:/home/mail# rpm --install j2sdk-1_4_2_04-linux-i586.rpm

error: failed dependencies:

glibc >= 2.1.2-11 is needed by j2sdk-1.4.2_04-fcs

sh-utils >= 2.0-1 is needed by j2sdk-1.4.2_04-fcs

fileutils >= 4.0-8 is needed by j2sdk-1.4.2_04-fcs

gawk >= 3.0.4-1 is needed by j2sdk-1.4.2_04-fcs

textutils >= 2.0-2 is needed by j2sdk-1.4.2_04-fcs

/bin/shis needed by j2sdk-1.4.2_04-fcs

core-server:/home/mail#

djbaby2jaar at 2007-6-29 14:56:37 > top of Java-index,Administration Tools,Sun Connection...
# 4
Hi Did you can fix it?I have the same issue.
OJAIME-SIDITEL at 2007-6-29 14:56:37 > top of Java-index,Administration Tools,Sun Connection...
# 5
To do this you must to make right click and select save source as....And then you will get it from the download site, otherwise if you made click on the link you will receive only a lot of garbage.
OJAIME-SIDITEL at 2007-6-29 14:56:37 > top of Java-index,Administration Tools,Sun Connection...