Solved

Uprgrading from RH 5.0 => 5.2 over FTP

Posted on 1998-12-31
4
202 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
ID: 1632048
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
ID: 1632049
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
ID: 1632050
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
ID: 1632051
Yeah, it's basically a router...  I access the internet just like it's part of a LAN.

Thanks.

COlin
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cannot connect to openvpn server 9 73
Linux hostname change 2 71
Help on running oracle SQL script in linux 3 48
How to enable sync between two yum repo? 1 30
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 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