Solved

upgrade CentOS

Posted on 2007-03-24
9
839 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

630 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