[libvirt] [jenkins-ci PATCH] guests: Clean up packages after update

Andrea Bolognani abologna at redhat.com
Thu Apr 12 10:12:19 UTC 2018


On Thu, 2018-04-12 at 11:00 +0100, Daniel P. Berrangé wrote:
> On Thu, Apr 12, 2018 at 11:54:16AM +0200, Andrea Bolognani wrote:
> > On Thu, 2018-04-12 at 10:29 +0200, Pavel Hrdina wrote:
> > > Would it be possible to add 'yum autoremove -y'? Only CentOS 6 doesn't
> > > have that command.
> > 
> > Good point, I must not have found out about it because I was
> > looking at CentOS 6 :) I'll post v2 in a bit.
> 
> "yum autoremove" is a command for reliably screwing up your system and
> should never be run without manual inspection of what it is going todo.

Is that so? The apt equivalent is usually pretty solid, and as
I mention in the commit message getting rid of obsolete packages can
really help when upgrading fast-moving targets.

I'm also not *that* worried about potentially breaking builders to
be honest, since with our current level of automation the worst case
scenario is spending around an hour rebuilding them from scratch :)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list