Solved

upgrade CentOS

Posted on 2007-03-24
9
837 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
[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
  • 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
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.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can i read my emails on lamp ftp 4 71
Can't connect to FTP 18 163
rsyslog raw message 4 61
leap year shell script 10 57
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

710 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