Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-12-2004, 07:58 PM   #1
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Rep: Reputation: 15
Unhappy Always error when running an rpm

Hi Linux masters!

I'm just a newbie to Linux and I'm trying to install a Java 1.5.0 SDK to my newly-installed slackware 10. I've extracted the RPM file needed for the installation, but everytime that I run it, using the command "rpm -iv <file>.rpm" I get the following error message:

<eplacepkgs '//root/java_inst/jdk.rpm';echo RESULT=$?
error: Failed dependencies:
glibc >= 2.1.2-11 is needed by jdk-1.5.0-fcs
sh-utils >= 2.0-1 is needed by jdk-1.5.0-fcs
fileutils >= 4.0-8 is needed by jdk-1.5.0-fcs
gawk >= 3.0.4-1 is needed by jdk-1.5.0-fcs
textutils >= 2.0-2 is needed by jdk-1.5.0-fcs
/bin/sh is needed by jdk-1.5.0-fcs


Help me to resolve this so i can istall the java sdk?!?!?!

Thanks a lot!
Old 11-12-2004, 08:06 PM   #2
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
A couple of things you can use the --nodeps to have it ignore dependancies. If you don't have these files that may cause it to not work though. When you su up to install do you use su - so that your paths are correct? You can also try ldconfig as root befor eyou try to install if you had just installed some stuff if all else fails make sure you have those files installed. oh you have slack 10. Don't use the rpm. Use the bin. chmod a+x javafile.bin then unpack either in you /usr/lib directory or anywhere and move to /usr/lib then make a symblic link from /usr/lib/java to your java-1.5 directory then when you want to upgrade just delete and recreate the symlink to your new directory. That way you don't have to reset up your paths and what not. If you insist on using the rpm then do rpm -iv --nodeps java-1.5.rpm to install the file

Last edited by mAineAc; 11-12-2004 at 08:16 PM.
Old 11-13-2004, 10:50 AM   #3
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
hi mAineAc,

Thanks a lot, I just included the "--nodeps" option on the rpm command, it worked so far, I have now my J2SE 1.5.0 on my slack 10, and i hope it will behave properly.

Thanks a lot again

More Power!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
running rpm on slackware djgerbavore Slackware 7 06-01-2005 02:44 PM
Problem running rpm jaggu Linux - Software 5 01-22-2004 05:37 PM
running an rpm endezeichen Linux - General 4 11-24-2003 09:54 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration