Yum centOS upgrade and roll back question

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?
mokkanAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
rindiConnect With a Mentor Commented:
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
 
rindiConnect With a Mentor Commented:
Just make a backup and test it before doing the upgrade.
0
 
mokkanAuthor Commented:
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
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
rindiConnect With a Mentor Commented:
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
 
mokkanAuthor Commented:
If I upgrade OS and if I downgrade one of the package? Would it work properly?
0
 
rindiConnect With a Mentor Commented:
No. Not without lots of work.
0
 
Darr247Connect With a Mentor Commented:
Don't you have grub installed in /boot ?
0
 
mokkanAuthor Commented:
Yes, I do. Why?
0
 
mokkanAuthor Commented:
When we execute yum update, does it look for next level of OS version or does it look for any update on packages?
0
 
Darr247Connect With a Mentor Commented:
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
 
mokkanAuthor Commented:
Thank you guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.