Solved

upgrade CentOS

Posted on 2007-03-24
9
834 Views
Last Modified: 2013-12-16
I have centOS 4.2 isntalled with all updates. I was trying to upgrade to 4.4, but did not get an option for upgrade.  Is there a way to do upgrade instead of new install.

Also is important to do the upgrade, or updates are fine since the kernal, smb ..etc are all up to date?

another concern, is it possible to do upgrade remotely with centOS. thanks!
0
Comment
Question by:fm250
  • 5
  • 3
9 Comments
 

Expert Comment

by:novoconst
ID: 18786042
Fire up a console, try the following commands when logged in as root.

yum install centos-yumcache
yum update centos-release
yum update

That should update you to the latest version allowed by your Yum repository.

Colin
0
 
LVL 20

Expert Comment

by:nedvis
ID: 18786362
0
 
LVL 20

Expert Comment

by:nedvis
ID: 18786372
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 10

Author Comment

by:fm250
ID: 18787295
I have daily yum updates, most of the installed packages are up-to-date, but not sure if I have the latest release, the stable 4.4.  

where do I find about the running latest release.

Because I have tried updading as mentioned but got the error.

Could not find update match for centos-release
No Packages marked for Update/Obsoletion

Is doing the daily updates (package by package) -same as- upgrading to new release? thanks!
0
 
LVL 20

Expert Comment

by:nedvis
ID: 18787472
What does command :  uname -a     says?
type also:  
$releasever
==============================================================================
If you update any CentOS-4 product, you will be updated to the latest CentOS-4.x version.
http://www.centos.org/modules/smartfaq/faq.php?faqid=34
==============================================================================
There is a "CentOS Vault" containing old CentOS trees:
http://vault.centos.org/

0
 
LVL 10

Author Comment

by:fm250
ID: 18794594
uname -a unix command just give the kernal ver and hostname, ..etc. but nothing about release,  $releasever was not found.

Back to the main problem: Is doing the daily updates (package by package) -same as- upgrading to new release? thanks!

what if I want to upgrade to release 5? thanks!
0
 
LVL 20

Expert Comment

by:nedvis
ID: 18796874
Q-Is doing the daily updates (package by package) -same as- upgrading to new release?
A-No, performing daily updates is more like keeping your installation in sync with latest CentOS tree.
   "If you update any CentOS-4 product, you will be updated to the latest CentOS-4.x version"

Q-"What if I want to upgrade to release 5?"
A- You will most likely have to backup your data and do fresh install , unless CentOS developers have found the way to upgrade your current installation ( ver. 4.4) to next major release ( ver. 5 )

 
0
 
LVL 10

Author Comment

by:fm250
ID: 18800814
what do you mean by "If you update any CentOS-4 product" such as new kernal, samba, then I will be getting the updates for the new release?
thanks!
0
 
LVL 20

Accepted Solution

by:
nedvis earned 500 total points
ID: 18802383
Did you get a chance to read CentOS remarks on :
"What is the versioning/release scheme of CentOS and how does it compare to the upstream vendor?"
"The upstream vendor" in CentOS verbiage ( for copyrights and tradmark protection reasons) is RedHat a main source for CentOS Linux.
"Major releases" are labeld CentOS 3.x , CentOS 4.x and so on.
"Numbered update sets" are CentOS 3.1,CentOS 3.2, CentOS  4.2,  CentOS 4.3 ,  Centos 4.4  etc.
By doing daily updates you're  still staying within major release tree ( e.g. you can update 4.1 release point to 4.2 then from 4.2  to 4.3 etc.) . In other words you cannot upgrade your current major release to next major release with higher release number like for instance to upgrade CentOS  3.4  to CentOS 4.
Minor changes in application programs, some tools, security patches and so on can be made through "numbered updates sets" but principal changes to the system ( like switch to newer kernel with latest kernel modules , changes/upgrades to programing and development tools and libraries ( gcc , glibc etc.), implementation of newer technologies ( like access to NTFS, plug-and-play facilities like hotplug and udev, file systems like UnionFS or autofs ) are usually breakpoints where new major release is necessary rather than simple update path.

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

808 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