[lug] Backing out yum upgrades

Jeffrey S. Haemer jeffrey.haemer at gmail.com
Tue Sep 25 12:30:39 MDT 2012


I'd like to do regular package updates on my CentOS 6.2 boxes.  I'd also
like to be able to back out selected updates if users say, "*Noooo ...*"

I've experimented with individual packages and haven't yet been able to
back anything out. I'm even using advice from The Internets, so it must be
me. Anyone have helpful advice?

Here's one example:

*[root at ba-vm-cie-01]#* yum history info 36
Loaded plugins: fastestmirror, security
Transaction ID : 36
Begin time     : Tue Sep 25 11:58:04 2012
Begin rpmdb    : 767:76194b1a8b18cc85c498a19bc4048412d28765b8
End time       :            11:58:08 2012 (4 seconds)
End rpmdb      : 767:126bb6eef3f6df1676f187c21411ec40ab006560
User           : System <unset>
Return-Code    : Success
Command Line   : update puppet
Transaction performed with:
    Installed     rpm-4.8.0-19.el6_2.1.x86_64                   @updates
    Installed     yum-3.2.29-22.el6.centos.2.noarch             @updates
    Installed     yum-metadata-parser-1.1.2-16.el6.x86_64
@anaconda-CentOS-201112091719.x86_64/6.2
    Installed     yum-plugin-fastestmirror-1.1.30-10.el6.noarch
@anaconda-CentOS-201112091719.x86_64/6.2
Packages Altered:
    Updated puppet-2.6.16-1.el6.noarch @epel
    Update         2.6.17-2.el6.noarch @epel
history info
*[root at ba-vm-cie-01]#* yum history undo 36
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.cmich.edu
 * epel: mirror.chpc.utah.edu
 * extras: mirror.spro.net
 * updates: mirror.spro.net
Undoing transaction 36, from Tue Sep 25 11:58:04 2012
    Updated puppet-2.6.16-1.el6.noarch @epel
    Update         2.6.17-2.el6.noarch @epel
Failed to downgrade: puppet-2.6.16-1.el6.noarch
history undo
*[root at ba-vm-cie-01]#* yum downgrade puppet
Loaded plugins: fastestmirror, security
Setting up Downgrade Process
Loading mirror speeds from cached hostfile
 * base: mirrors.cmich.edu
 * epel: mirror.chpc.utah.edu
 * extras: mirror.spro.net
 * updates: mirror.spro.net
Only Upgrade available on package: puppet-2.6.17-2.el6.noarch
Nothing to do



   1. I originally installed puppet-2.6.16, which came from epel.
   2. I saw, from "yum check-updates," that there was an available update
   for puppet.
   3. I ran "yum update puppet," which installed 2.6.17.
   4. I tried to downgrade to 2.6.16.
   5. Yum commissioned me "Major Loser."


What should I be trying instead? [Yeah, yeah.]

-- 
Jeffrey Haemer <jeffrey.haemer at gmail.com>
720-837-8908 [cell], http://seejeffrun.blogspot.com [blog],
http://www.youtube.com/user/goyishekop [vlog]
*פרייהייט? דאס איז יאַנג דינען וואָרט.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20120925/cb78b214/attachment.html>


More information about the LUG mailing list