Solved

upgrade CentOS

Posted on 2007-03-24
9
832 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

809 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