LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-30-2005, 07:11 PM   #1
brundles
Member
 
Registered: Nov 2003
Location: UK
Distribution: SUSE 9.2
Posts: 77

Rep: Reputation: 15
RPM upgrade options?


Just a quick question about RPM packages...

I'm trying to upgrade JRE 1.4.2 to JRE 1.5.0. As several people on here have seen the RPM packages have very different names (java-1_4_2-sun-1.4.2.06-1.1 vs jre-1.5.0_02-fcs). Is there a way to get the RPM software to treat the jre1.5.0 package as an upgrade for java-1.4.2 instead of the messier option of installing both and then forcing a remove on the original?

Just wondered if this was possible and whether it would leave dependencies in a cleaner state afterwards,

Thanks in advance,
Keith
 
Old 03-30-2005, 09:14 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
To upgrade a package you type rpm -Uvh <package name>.rpm
 
Old 03-30-2005, 11:11 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I think what brundles is saying is that the jre1.5 package might not be recognized as an upgrade to the installed jre1.4 package.

What you could do is install the jre1.5 package and then manually remove the jre1.4 components (it's usually in a single directory - on my system it was something like /usr/java/jre1.4.2). This way, rpm will think that jre1.4 is still there so won't complain about dependencies when something requires it. you might still have to fix some application configurations so they find the new java installation. It's not the cleanest way but it should work.
 
Old 03-31-2005, 01:58 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I don't think there is a way to treat the 1.5 version as an upgrade to your 1.4 version because your 1.4 version seems to be a full SDK whereas the 1.5 version is a jre. If both were jre's or sdk's, installing a newer package would theoretically delete the old one.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade options LLS Fedora 2 05-14-2005 11:16 PM
How to Find the Compile Time Options of a RPM Package spurgeonb Red Hat 0 11-13-2004 11:00 PM
Adding ./configure options to an already installed RPM EviLBoX Linux - Software 3 10-29-2004 03:31 PM
rar.rpm options varunk123456 Linux - Software 1 04-04-2004 04:17 AM
preserve configuration files during RPM upgrade (rpm -U) charrua Red Hat 3 03-14-2004 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 AM.

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
Open Source Consulting | Domain Registration