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.
[root@wyc13eds-1 src]# rpm -iv j2re-1_4_1_01-fcs-linux-i586.rpm
Preparing packages for installation...
package j2re-1.4.1_01-fcs is already installed
[root@wyc13eds-1 src]# rpm -e j2re-1_4_1_01-fcs-linux-i586.rpm
error: package j2re-1_4_1_01-fcs-linux-i586.rpm is not installed
[root@wyc13eds-1 src]# man rpm
[root@wyc13eds-1 src]# rpm -iv -replace j2re-1_4_1_01-fcs-linux-i586.rpm
rpm: arguments to --root (-r) must begin with a /
[root@wyc13eds-1 src]# man rpm
[root@wyc13eds-1 src]# rpm -iv --replacefiles j2re-1_4_1_01-fcs-linux-i586.rpm
Preparing packages for installation...
package j2re-1.4.1_01-fcs is already installed
thats what i keep getting when i try to install java 2.0 vm. i messed up my first try at installing, and now it screws me over and one minute says its already there, the next, when i try to remove it, saying its gone.
i'm only root to install, not always you know.
on a plus note, i'm getting better than when i started a few days ago. i know what things mean now!
what is the -e for? I think that -u was for uninstall, that is in mandrake at least. Ok, then try rpm -V to check if it is installed.
Or even better, if rpm -qa|grep j2re tells you that it is already installed then you can use rpm -Uvh j2reblahblahblah (this should update your rpm) and you can use --force (or --replacepkgs)
Sounds like you need to update your RPM database. Try rebuilding it:
man rpm OR
rpm --rebuilddb
Also, the force option always did the trick for me when I'd run into the redundant issue like that. I figure, so what, if it's already installed, I won't "double install" it.
i dont know what else to say... none of this has worked (or changed anything) and seeing as the java vm is sort of important to run things i can't just stop, but no matter what i say the gosh darn machine keeps playing its tricks on me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.