LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-14-2002, 10:43 PM   #1
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Rep: Reputation: 15
answer the question or i'll club this baby seal


[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!
 
Old 12-14-2002, 10:53 PM   #2
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
rpm -e j2re-1_4_1_01-fcs-linux-i586.rpm

this isn't how you remove an rpm. I found tis out the hard way as well.

rpm -e j2re-1_4_1_01-fcs-linux-i586

that is how you remove one.
 
Old 12-14-2002, 11:03 PM   #3
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Original Poster
Rep: Reputation: 15
[root@wyc13eds-1 src]# rpm -e j2re-1_4_1_01-fcs-linux-i586
error: package j2re-1_4_1_01-fcs-linux-i586 is not installed
[root@wyc13eds-1 src]# rpm -e j2re-1_4_1_01-fcs-linux-i586
error: package j2re-1_4_1_01-fcs-linux-i586 is not installed
 
Old 12-14-2002, 11:48 PM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
try uninstalling it and see what happends

#rpm -uv j2re-1_4_1_01-fcs-linux-i586

and then installling it again.

#rpm -ivh j2re-1_4_1_01-fcs-linux-i586
 
Old 12-15-2002, 12:24 AM   #5
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Original Poster
Rep: Reputation: 15
-uv comes up as an unknown option, or the u part anyways.

the -e tells me the package isn't installed, while -i tell me it is already installed.
 
Old 12-15-2002, 12:45 AM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
well, what does
rpm -qa|grep j2re
report?
 
Old 12-15-2002, 12:55 AM   #7
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
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)
 
Old 12-15-2002, 12:55 AM   #8
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Original Poster
Rep: Reputation: 15
rpm -qa|grep j2re
j2re-1.4.1_01-fcs
 
Old 12-15-2002, 01:03 AM   #9
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
then do the
Code:
# rpm -Uvh <j2re-version-linux-i586>
and tell us what happend
 
Old 12-15-2002, 01:14 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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.

Cool
 
Old 12-15-2002, 01:32 AM   #11
bandofmercy
Member
 
Registered: Dec 2002
Distribution: Slack 9
Posts: 84

Original Poster
Rep: Reputation: 15
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.
 
Old 12-15-2002, 02:12 AM   #12
jdc2048
Member
 
Registered: Jul 2002
Location: Ohio, USA
Distribution: Redhat, Gentoo, Solaris, HP-UX, etc...
Posts: 391

Rep: Reputation: 30
just run

Code:
rpm -e j2re-1.4.1_01-fcs
leave off the "linux-586" part

P.S. Where is the baby seal clubbing sight? I guess I could search for it.
 
Old 12-15-2002, 04:01 AM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Maybe
rpm -U j2re-1_4_1_01-fcs-linux-i586
 
Old 12-15-2002, 02:48 PM   #14
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
did you tried rpm -ivh --force <filename>
 
  


Reply


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
Question about Mandriva Club purelithium Mandriva 13 04-25-2006 08:38 AM
Answer to Question??? Saquear Linux - Networking 1 11-10-2005 02:49 PM
Mandrake Club Question slovokia Mandriva 1 10-24-2005 01:17 AM
Seal of Quality sanmartin Linux - Distributions 1 10-16-2005 11:30 AM
Can you answer this question? mguzman Linux - Software 2 03-16-2002 09:35 AM


All times are GMT -5. The time now is 10:35 PM.

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