Solved

Uprgrading from RH 5.0 => 5.2 over FTP

Posted on 1998-12-31
4
205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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…
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…

732 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