Solved

Yum centOS upgrade and roll back question

Posted on 2013-01-21
11
751 Views
Last Modified: 2013-02-05
We are running CentOS6.2 in production and wants to upgrade it to 6.3. I know upgrade will do it, but if I upgrade it and if there
is any issue, can I roll back to 6.2?
0
Comment
Question by:mokkan
  • 5
  • 4
  • 2
11 Comments
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801506
Just make a backup and test it before doing the upgrade.
0
 

Author Comment

by:mokkan
ID: 38801531
I totally understand, but can we downgrade using yum? I guess no? but can I downgrade specific package ? Or it won't work properly.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801575
No. Apart from that even if it were possible, a restore would probably be faster.

Of course if you are using a file-system that supports snapshots you could return to a previous version, but I've never used that myself.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:mokkan
ID: 38801655
If I upgrade OS and if I downgrade one of the package? Would it work properly?
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 38801683
No. Not without lots of work.
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 166 total points
ID: 38802333
Don't you have grub installed in /boot ?
0
 

Author Comment

by:mokkan
ID: 38802554
Yes, I do. Why?
0
 

Author Comment

by:mokkan
ID: 38802557
When we execute yum update, does it look for next level of OS version or does it look for any update on packages?
0
 
LVL 44

Assisted Solution

by:Darr247
Darr247 earned 166 total points
ID: 38803003
Grub should keep three backup kernels by default... I don't recall doing anything other than upgrading my kernel when going from 6.0 to 6.1 to 6.2 to 6.3.
0
 
LVL 88

Accepted Solution

by:
rindi earned 334 total points
ID: 38803414
An upgrade does more than just upgrade the kernel. Kernel upgrades also happen with normal updates. There you could just use Grub to boot an older kernel.  With an upgrade of the OS there are many other things that also are updated and then using an older kernel will most likely cause problems.
0
 

Author Closing Comment

by:mokkan
ID: 38856940
Thank you guys
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to install Ubuntu 16 in DELL venue 8 pro 20 129
LINUX backups with VEEAM 8 74
open source backup solution 1 27
how to configure linux OS using Ubuntu 7 35
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

813 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

11 Experts available now in Live!

Get 1:1 Help Now