Solved

Uprgrading from RH 5.0 => 5.2 over FTP

Posted on 1998-12-31
4
200 Views
Last Modified: 2013-12-15
Hi there, I'm running Red Hat version 5.0 (Hurricane) right now and I'd like to upgrade to 5.2.  I don't want to buy another CD, I'd like to upgrade over FTP.  What's the easiest way to do this?

Thank you,

Colin
0
Comment
Question by:colind
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
cleikis earned 100 total points
Comment Utility
While it is technically possible to upgrade a distribution over the Internet through FTP, Redhat never intended for that to happen over a modem. The FTP method was designed for FTP'ing the files from another server on your intranet (as were the SMB and NFS methods) or from the Internet with a fast connection.

RedHat's Installation Manual talks about the FTP method at http://www.redhat.com/support/docs/rhl/RHL-5.2-Manual/install-guide/manual/doc017.html in section 2.4.3

The way I usually do it without buying a CD is this way: (Do not attempt this unless you are entirely comfortable with it and you understand all of the ramifications. TRY THIS AT YOUR OWN RISK. I've done it successfully twice from 4.2 -> 5.0 and from 5.0 -> 5.1)

1) Print out a list of installed RPMs installed on your system (rpm -qa)
2) Print out a list of RPMs included in the new distribution (http://metalab.unc.edu/pub/Linux/distributions/redhat/redhat-5.2/i386/RedHat/RPMS/)
3) Begin comparing which RPMs you have installed that need to be upgraded and download them 10 at a time or so.
4) Use rpm -Uvh <rpm file name> to upgrade them.
5) if you identify any failed dependencies, you'll have to upgrade those RPMs first (or install them in the first place). DON'T IGNORE FAILED DEPENDECIES

You can do this with all of the RPMs except the kernel RPMS. They are usually installed instead of upgraded. RedHat's site has information on upgrading your kernel at http://www.redhat.com/support/docs/rhl/kernel-upgrade.html

This method is time consuming and it's not hard to make a mistake but it does work and I have used it.

GOOD LUCK!!
0
 

Author Comment

by:colind
Comment Utility
Well, I've got a fast connection...  Cable modem.  I'm wondering if there is a way to do it all at once automatically, just like it would be had I bought the CD.  I'd like to just say, "yup, go to this FTP site, anything there that is newer than what I've got here, download and upgrade it."  It might take an hour or two but that's ok.  The only caveat is that I wouldn't want it to touch my kernel since I've recompiled it include and not include specific things and since it works well, I see no need to change it.
0
 
LVL 1

Expert Comment

by:cleikis
Comment Utility
Yes, you can read what the installation manual has to say about the FTP installation method at the link I provided above. You do an upgrade just like a new install except that you answer yes to the question, "Is this an upgrade to an existing RedHat installation?"

Basically, the restriction on the FTP method is that you give it information about your network card and it expects that you have internet access. It will not let you dial up via PPP the way FreeBSD does.

You cable modem is basically a router and you don't actually have to "dial" it, is that correct? I don't see why it wouldn't work, but I've never used a cable modem.. I've only read about them.
0
 

Author Comment

by:colind
Comment Utility
Yeah, it's basically a router...  I access the internet just like it's part of a LAN.

Thanks.

COlin
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now