Solved

upgrade CentOS

Posted on 2007-03-24
9
829 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
 
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

762 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

23 Experts available now in Live!

Get 1:1 Help Now