LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-17-2003, 01:34 AM   #1
thetwin
Member
 
Registered: Feb 2003
Distribution: Linux RedHat 7.2
Posts: 47

Rep: Reputation: 15
upgrading Redhat


Greetings.

I have a Redhat 7.2 router/firewall with no services from the Internet running. I am thinking of upgrading to Redhat 9.0 but am unsure of how to upgrade.

I have downloaded the Redhat 9 CD and I would like to upgrade only the installed rpm's all at once. Is there a command that does this

BTW.there is no graphic server running

Thanks for your help
 
Old 12-17-2003, 08:24 AM   #2
jkobrien
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slackware, LFS, Ubuntu, RedHat, Slamd64
Posts: 507

Rep: Reputation: 30
Hi,

You want 'rpm -Fvh' which will only upgrade packages that are already installed. You probably don't want to do this for the kernel though. There might be an "except" switch, look at 'man rpm', but if not and if you have the space, you could create a directory on your hard disk and copy over all the rpm's except the kernel-related ones and maybe anything else critical.

That way you can have a new and old version of these packages until you're sure the new version don't cause you any problems.

There might be some new packages you will need, not sure how the '-F' (freshen) switch handles these. You can use '--test' for a dry run.

John

Last edited by jkobrien; 12-17-2003 at 08:26 AM.
 
Old 12-17-2003, 08:38 AM   #3
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Is there some reason you don't want to upgrade from the installer? I'm 99% sure there is an option to upgrade from a previous version. In fact, I'm sure there is.
 
Old 12-17-2003, 12:51 PM   #4
thetwin
Member
 
Registered: Feb 2003
Distribution: Linux RedHat 7.2
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks folks.I think that I will install from the installer.

Thanks for your responses

Cheers
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from Redhat 6 to 9 sph90457 Linux - Newbie 2 06-15-2005 10:43 AM
Qmail give errors after upgrading from Redhat 8 to Redhat 9 webersole Linux - Software 1 12-20-2003 01:25 AM
Upgrading RedHat 7.3 to 9.0 acidbreez Linux - Security 1 08-26-2003 08:23 AM
upgrading redhat loadimmed Linux - General 2 07-22-2003 11:32 AM
Upgrading from Redhat 6.1 to 7.2 chopper Linux - Software 7 01-09-2002 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:46 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
Open Source Consulting | Domain Registration