[lug] Backing out yum upgrades
Jeffrey S. Haemer
jeffrey.haemer at gmail.com
Tue Sep 25 12:59:48 MDT 2012
Kevin,
Thank you.
On Tue, Sep 25, 2012 at 12:55 PM, Kevin Fenzi <kevin at scrye.com> wrote:
> On Tue, 25 Sep 2012 12:30:39 -0600
> "Jeffrey S. Haemer" <jeffrey.haemer at gmail.com> wrote:
>
> > 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?
>
> ...snip...
>
> > 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.]
>
> The problem is that it needs to have the old package available
> somewhere in order to downgrade to it.
>
> Simple fix would be to grab that version from the buildsystem:
>
>
> http://kojipkgs.fedoraproject.org//packages/puppet/2.6.16/1.el6/noarch/puppet-2.6.16-1.el6.noarch.rpm
>
> then 'yum downgrade ./puppet-2.6.16-1.el6.noarch.rpm'
>
> Better perhaps would be to keep copies of old packages locally.
>
> There's a yum plugin called yum-plugin-local that takes all the
> packages you install and keeps them in a local repo. Of course that
> could take up a lot of disk space over time.
>
> Hope that helps.
>
> kevin
>
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
--
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/0304f819/attachment.html>
More information about the LUG
mailing list