Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alright, this isn't the first time I have had problems with this. I just installed Slackware 10 from the iso images and installed the kernel source as well... At least as far as I know (Is there a way to check that I did it right?). I try to install java with the rpm and get this:
Code:
root@slackware:/home/seeded# rpm -iv j2re-1_4_2_05-linux-i586.rpm
error: Failed dependencies:
glibc >= 2.1.2-11 is needed by j2re-1.4.2_05-fcs
sh-utils >= 2.0-1 is needed by j2re-1.4.2_05-fcs
fileutils >= 4.0-8 is needed by j2re-1.4.2_05-fcs
gawk >= 3.0.4-1 is needed by j2re-1.4.2_05-fcs
textutils >= 2.0-2 is needed by j2re-1.4.2_05-fcs
/bin/sh is needed by j2re-1.4.2_05-fcs
root@slackware:/home/seeded#
I got an even bigger list when I tried to install my ATI drivers. What are these all about? I was looking at the Slackware 10 package and it should have all of these and even some updated ones. Any guidance would be appreciated!
Just thought I'd add this for more information on the problem of dependencies. Thsi is what I got back when I tried to install my ATI drivers. The "workaround" was converting it using rpm2tgz... Although I don't think that completely solved the problem.
Code:
root@slackware:/home/seeded# rpm -i --force fglrx-4.3.0-3.9.0.i386.rpm
error: Failed dependencies:
/bin/sh is needed by fglrx-4.3.0-3.9.0
ld-linux.so.2 is needed by fglrx-4.3.0-3.9.0
libX11.so.6 is needed by fglrx-4.3.0-3.9.0
libXext.so.6 is needed by fglrx-4.3.0-3.9.0
libc.so.6 is needed by fglrx-4.3.0-3.9.0
libdl.so.2 is needed by fglrx-4.3.0-3.9.0
libm.so.6 is needed by fglrx-4.3.0-3.9.0
libpthread.so.0 is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1.3) is needed by fglrx-4.3.0-3.9.0
libm.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libpthread.so.0(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
root@slackware:/home/seeded#
Slackware isn't rpm-based, it doesn't create or
maintain an rpm database for you.
You should try to AVOID rpms in Slack.
The only thing you can do (if something isn't available
in a sensible package format) is manually check whether
the requirements are met, and then use --force on the
rpm installation.
So even though Slackware 10 has these it's not in a RPM database? That is why I get these errors? That makes sense if it's true. So my options are to --force the install and what about rpm2tgz? Is this command there for this reason? That Slackware does not maintain rpm databases?
I'm loving Linux everyday I use. It's more fun configuring it to your personal standards than playing games in M$ I think! I'm learning and I appreciate the help! I will soon be developing in C++ here other than Windoze. Maybe eventually uninstall Windoze too!
Originally posted by Russb
So even though Slackware 10 has these it's not in a RPM database? That is why I get these errors? That makes sense if it's true.
/me greps his gray cells ...
Yep, all say that Slack and RPM's don't really mix ;)
Of all major distro's slack is the only one with a packaging
system that DOESN'T check dependencies!
Quote:
So my options are to --force the install and what about rpm2tgz? Is this command there for this reason? That Slackware does not maintain rpm databases?
Yep, yep and yep ...
Quote:
I'm loving Linux everyday I use. It's more fun configuring it to your personal standards than playing games in M$ I think! :p I'm learning and I appreciate the help! I will soon be developing in C++ here other than Windoze. Maybe eventually uninstall Windoze too!
I found a .bin for the java installer and used sh on it. Installed perfectly! Now, I think I messed up the link and can't for the life of me fix it. Unless of course I am linking the wrong thing. Here it is:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.