LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2014, 07:54 PM   #1
wwipro
LQ Newbie
 
Registered: Jun 2011
Posts: 29

Rep: Reputation: Disabled
how to undo/rollback an upgrade


I did # yum upgrade ntp. It completes successfully.
/var/log/yum.log shows:
Apr 12 17:18:54 Updated: openssl-1.0.1e-16.el6_5.7.x86_64
Apr 12 17:18:55 Updated: ntpdate-4.2.6p5-1.el6.centos.x86_64
Apr 12 17:18:55 Updated: ntp-4.2.6p5-1.el6.centos.x86_64

# yum history
Loaded plugins: fastestmirror, refresh-packagekit, security
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
27 | root <root> | 2014-04-12 17:18 | Update | 3 EE

Now, I like to rollback the ntp package.
# yum history undo 27
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.adams.net
* extras: mirror.kentdigital.net
* updates: mirrors.centarra.com
Undoing transaction 27, from Sat Apr 12 17:18:52 2014
Updated ntp-4.2.4p8-3.el6.centos.x86_64 @anaconda-CentOS-201303050102.x86_64/6.4
Update 4.2.6p5-1.el6.centos.x86_64 @base
Updated ntpdate-4.2.4p8-3.el6.centos.x86_64 @anaconda-CentOS-201303050102.x86_64/6.4
Update 4.2.6p5-1.el6.centos.x86_64 @base
Updated openssl-1.0.0-27.el6_4.2.x86_64 @updates
Update 1.0.1e-16.el6_5.7.x86_64 @updates
Failed to downgrade: ntp-4.2.4p8-3.el6.centos.x86_64
Failed to downgrade: ntpdate-4.2.4p8-3.el6.centos.x86_64
Failed to downgrade: openssl-1.0.0-27.el6_4.2.x86_64

cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

O/S: CentOS release 6.4 (Final)

Thanks.
WL
 
Old 04-12-2014, 09:01 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
what is it you want to do ?
because you REALLY WANT THIS INSTALLED!!!!!!!!!
" openssl-1.0.1e-16.el6_5.7.x86_64"


as to Network Time Protocol " ntp-4.2.6p5-1 " and "ntpdate-4.2.6p5-1"

why do you think you need to remove the current bug fix ( required by openssl)

the problem is that
"ntpdate" is needed by "ntp"
and
"ntp" is needed by "openssl"

the only way is to but back in the hartbleed bug

Last edited by John VV; 04-12-2014 at 09:12 PM.
 
Old 04-12-2014, 09:03 PM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
what is it you want to do ?
because you REALLY WANT THIS INSTALLED!!!!!!!!!
" openssl-1.0.1e-16.el6_5.7.x86_64"
Not really. The Heartbleed bug wasn't fixed until 1.0.1g.
 
Old 04-12-2014, 09:24 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the update date on the openssl ( update 5.7) rpm for cent6.5 is April 8 2014
Quote:
-- current update---
openssl-1.0.1e-16.el6_5.7.x86_64.rpm 08-Apr-2014 02:49 1.5M

--- first centos 6.5 update ---
openssl-1.0.1e-16.el6_5.x86_64.rpm 03-Dec-2013 22:53 1.5M
https://www.centos.org/forums/viewto...p?f=17&t=45842

as with RHEL security updates are backported to the current minor version
cent6.5 will always have openssl-1.0.1e
Centos 6.6 will have a newer minor version

Last edited by John VV; 04-12-2014 at 09:26 PM.
 
Old 04-12-2014, 10:24 PM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
as with RHEL security updates are backported to the current minor version
cent6.5 will always have openssl-1.0.1e
Centos 6.6 will have a newer minor version
Interesting. Does openssl version report the entire (extended) version number on RHEL/CentOS systems?
 
  


Reply



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 to 9.04 bcbotha Ubuntu 1 11-02-2009 05:53 AM
apt-get upgrade rollback tklima Linux - Software 2 04-23-2008 05:32 AM
yum rollback !! is it possible m2azer Linux - Software 1 02-12-2008 08:47 PM
how to rollback erinlang101 Red Hat 2 09-20-2005 09:31 AM
Undo a BIOS upgrade? ugenn Linux - Hardware 6 09-30-2003 02:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:05 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