LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-24-2016, 07:00 PM   #1
TMA
LQ Newbie
 
Registered: May 2016
Posts: 2

Rep: Reputation: Disabled
Question Rollback updates in centos linux 5.x?


I ran 26 updates on my linux server and my VPN died....need to roll back the updates to verify that that is not the problem. I am a windows guy and not very fam with Linux. Any help...(please)
 
Old 05-24-2016, 07:17 PM   #2
timl
Member
 
Registered: Jan 2009
Location: Sydney, Australia
Distribution: Fedora,CentOS
Posts: 702

Rep: Reputation: 152Reputation: 152
I think the command you are looking for is
Quote:
yum downgrade
and I think you need to do this for each package

Would you like to tell us more about the VPN problems? Maybe there is a simple solution. And what packages were updated?
 
Old 05-24-2016, 07:28 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656
While timl's method is correct,. it will all depend on what yum plugins you have installed. I think 'yum info yum' will tell you which ones are installed,. mind sharing them? If you do not have the correct plugins, then it is going to be a manual affair of looking at yum.log to find out what was upgraded, finding the old packages (if they are still in the yum cache) and replacing them with older equivalents.
 
Old 05-24-2016, 07:36 PM   #4
TMA
LQ Newbie
 
Registered: May 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Loaded plugins: fastestmirror, priorities, security
 
Old 05-24-2016, 09:40 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,237

Rep: Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656Reputation: 1656
Sorry then. For 'yum downgrade' or 'yum history' to work you have to have the yum history plugin installed. Essentially then, there is no automated easy way to roll back the changes. However,. if your VPN is the only thing that got changed, then you are likely just looking at an overwritten configuration file.

What was your VPN software? OpenVPN? Did you set up the config file? Have you went to /etc/ and looked for a backup VPN config file (generally with the extension .bak)?
 
Old 05-25-2016, 12:26 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
the old 5 series uses the text logs in /var/log

have a read through yum.log file
at the end will be the most recent

but if you do not inform us as to WHAT "VPN died" means
then there is really NOTHING we can do but make WILD GUESSES

what is the vpn error in the logs ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rollback yum update on CentOS 6 wwipro Linux - Server 2 04-26-2014 02:16 AM
CentOS Yum Updates adiab Linux - Server 2 11-25-2010 06:45 AM
Redhat 5 and CentOS updates? watcher69b Linux - Server 6 01-11-2009 03:03 PM
Rollback of yum updates and/or rpm installs WingnutOne Linux - General 1 11-29-2007 11:24 AM
How do you rollback up2date updates Andy@DP Red Hat 0 04-07-2004 06:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration