apt-get, java, J2re, lime wire, and any other programI want to install
Linux - SoftwareThis 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.
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.
apt-get, java, J2re, lime wire, and any other programI want to install
Strange subject, Isn't it?
First i downloaded suse 10.0 eval because of the programs installed in it specially JAVA (i had been through lots of trouble installing it on mandriva)
i wanted to install lime wire but yast package manager refused to do so saying that there is a dependency (j2re) i have to install first... so i installed using the shell using
#rpm --nodeps
and lime wire worked with no problem at all
now i found out what is apt-get and who wonderful it is but every time i want to install a program it gives me the following message
Code:
linux:/home/ahmad # apt-get install wine
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get --fix-broken install' to correct these:
The following packages have unmet dependencies:
LimeWire-free: Depends: j2re (>= 1.4.1) but it is not installable
E: Unmet dependencies. Try 'apt-get --fix-broken install' with no packages (or specify a solution).
linux:/home/ahmad #
now i want apt-get to discard this failed dependency and to carry on downloading and installing the program i want is that possible or every time i want to install a program i have to uninstall lime wire and then install it back again
Thank You
ps. [apt-get install wine] is only for demonstration
suse is a rpm based distribution whereas apt-get is the package installer for debian and ubuntu and other debian based distros. i never heard of it working for suse or red hat...(maybe others did)
cheers, j.
suse is a rpm based distribution whereas apt-get is the package installer for debian and ubuntu and other debian based distros. i never heard of it working for suse or red hat...(maybe others did)
cheers, j.
Apt-get is available in a wide range of distros. It works with Redhat all the way back to Redhat 6.2. I used it extensively with Redhat 9.0.
@AGazzaz
If I was you, I'd remove limewire and java, go to java.sun.com and grab the bin file (not the rpm), then follow this link to get Java installed, then install limewire. Avoid using --nodeps, unless you are sure what you are doing.
I suggest you to remove Java, because you most likely don't have Sun's java installed, but a gcc-java replacement, which is giving a lot of users problems. To make sure whetter or not you've got gcc-java installed, open a terminal and type:
Code:
java -version
If it does not return something like:
Quote:
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
but ratter a "GCJ version", then that is one source of your problems. Again, use Sun's Java RE/SDK. If you prefer to keep gcj, at least remove the symlinks and install Sun's Java RE anyway.
Now, on the apt-get issue. Did you at least try to run the suggested command?
Quote:
apt-get --fix-broken install
I also assume that you ran "apt-get update" before trying to use apt-get.
ahmad@linux:~> java -version
java version "1.4.2_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
ahmad@linux:~>
also the verification on java website works
and on trying the suggested command
Code:
linux:/home/ahmad # apt-get --fix-broken install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
LimeWire-free
0 upgraded, 0 newly installed, 1 removed and 109 not upgraded.
Need to get 0B of archives.
After unpacking 15.6MB disk space will be freed.
Do you want to continue? [Y/n]
that is why I uninstall limewire every time i want to install any program
Quote:
I also assume that you ran "apt-get update" before trying to use apt-get.
yes i used this command after I installed apt-get
now since i have java not gcc and everything is running fine excepy that conflict
now how can i get apt-get to discard limewire's conflict
and i think it is a problem of suse because it is used to remind me of the conflict everytime i start the package manager and i told it to always ignore
is there a way to overcome such problem
Quote:
go to java.sun.com and grab the bin file (not the rpm)
I would also like to ask you why should i download the .bin not the .rpm java
By the way installing the .bin version is the final solution if everything else failed
Ah cool . Then everything seems to be fine with your Java RE. I usually recommend the bin over the rpm because that gives you more control of where you will install it. I usually keep this kind of applications at /opt. If I later need to, for example, link java plugin with a webbrowser, I can easily do that as well. It is more a matter of personal preference than a technical one I suppose.
Anyway, since your java RE is working, there's no need to change anything. If ain't broken, don't fix it ^^. My suggestion here is to download the non-rpm version of Limewire. Go to the download page and grab the "Other (OS/2, Solaris, Linux)". Not sure if a direct link will work, but:
It is a zip file called "LimeWireOther.zip". Unzip it:
Code:
unzip LimeWireOther.zip
Here is the beautiful of Java. This package should run with any OS (which has Java of course), so I wonder why they created installers for every major OS... heck, even a .rpm. This in my opinion just complicate things. Anyway, rants apart, go the the unziped folder and run the executable jar file:
Code:
cd LimeWireOther
java -jar LimeWire.jar
I just tested this in my WinXP box and no problems here. I bet you won't have any problems either. Just avoid the .rpm for java applications
Let me know if it works.
Regards!
P.S: don't forget to remove the old limewire rpm first with "rpm -e limewire"
Last edited by Mega Man X; 07-08-2006 at 06:05 AM.
Thank you very much for your help now lime wire and apt-get are working together in peace and aptget is downloading enlightenment as i am writing this reply
I also DO agree about the complication they made by providing lots of packages for lime wire while the JAVA is much easier, may be they have a point that we may know oneday
Congratulations AGazzaz! I knew you would made it ^^. Thank you also for the feedback. You've raised an interesting question: There might be a point for them to create rpm packages for Java applications. I've been coding with Java for over 2 years now and I still can't see how that would make anything easier. For Windows, even if you double-click on a .jar file, if it is executable, it will run automatically, just like any other .exe.
But as you said, they may have a point for that ^^.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.