[CentOS] yum update pulls in lvm-cluster on 7

Wed Jan 4 17:15:41 UTC 2017
me at tdiehl.org <me at tdiehl.org>

On Wed, 4 Jan 2017, Peter Kjellström wrote:

> On Tue, 13 Dec 2016 08:16:06 -0500 (EST)
> me at tdiehl.org wrote:
>> I ran "yum update" this morning on a 7.2 machine with all of the cr
>> updates applied to it and yum wants to install lvm-cluster and a
>> bunch of deps.
> ...
>> ======================================================================
>>   Package           Arch      Version                Repository   Size
>> ======================================================================
>> Installing for group upgrade "Resilient Storage":
>>   lvm2-cluster      x86_64    7:2.02.166-1.el7_3.1    updates
> ...
>> I understand why the centos-release wants to be updated but can
>> someone tell me why it wants to pull in lvm-cluster and friends? This
>> machine is not part of a cluster.
>
> I don't see how the above output could be much more clear. It wants to
> upgrade the installed group of packages named "Resilient Storage" and
> the included packages have new dependencies.

Obviously, but I never installed a group called "Resilient Storage" nor
do I need that group and yum grouplist does not show that such a group
even exists.

What I was missing is that yum grouplist has a "hidden" option and that is what
you need to actually see what groups are installed on the machine.

Once I found that I discovered that in 7.2 the Resilient Storage group only
had gfs2-utils as a Mandatory package. In 7.3 lvm2-cluster was added as
an additional package to that group. Yum logs show that gfs2-utils has
been installed since the beginning of the machine's life (most likely by
anaconda) and now that lvm2-cluster was added as a mandatory package,
that is what caused the unnecessary deps to be required.

That was the mystery I was trying to understand and solve.

The bottom line is that I removed gfs2-utils and all is well.

Sorry for the confusion.

Regards,

-- 
Tom			me at tdiehl.org		Spamtrap address	 		me123 at tdiehl.org