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

Gianluca Cecchi gianluca.cecchi at gmail.com
Tue Dec 13 16:10:11 UTC 2016


On Tue, Dec 13, 2016 at 2:16 PM, <me at tdiehl.org> wrote:

> Hi,
>
> 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.
>
> Dependencies Resolved
>
> ======================================================================
>  Package           Arch      Version                Repository   Size
> ======================================================================
> Installing for group upgrade "Resilient Storage":
>  lvm2-cluster      x86_64    7:2.02.166-1.el7_3.1    updates      663 k
>

Hello,
which command did you execute, exactly?
I have only experience with RHEL and not CentOS for what regards
lvm2-cluster; in my opinion it is correct that it is included in "Resilient
Storage" group.
So that if you already had this group installed but not lvm2-cluster rpm
package, it was a problem before, not now....

Eg, in a CentOS 7.2 vm of mine I have:

[root at manageiq ~]# rpm -q lvm2-cluster
package lvm2-cluster is not installed
[root at manageiq ~]#

[root at manageiq ~]# rpm -q lvm2
lvm2-2.02.130-5.el7.x86_64
[root at manageiq ~]#

[root at manageiq ~]# yum update
. . .
centos-release                    x86_64     7-3.1611.el7.centos
      base         23 k
. . .
lvm2                              x86_64     7:2.02.166-1.el7_3.1
     updates     1.1 M
. . .
but no lvm2-cluster package proposed

but correctly if I run

[root at manageiq ~]# yum groupinstall "Resilient Storage"
...
Dependencies Resolved

====================================================================================================
 Package                             Arch         Version
    Repository     Size
====================================================================================================
Installing for group install "Resilient Storage":
 dlm                                 x86_64       4.0.6-1.el7
    base           89 k
 gfs2-utils                          x86_64       3.1.9-3.el7
    base          302 k
 lvm2-cluster                        x86_64       7:2.02.166-1.el7_3.1
     updates       663 k
Installing for dependencies:
 corosync                            x86_64       2.4.0-4.el7
    base          213 k
 corosynclib                         x86_64       2.4.0-4.el7
    base          125 k
 dlm-lib                             x86_64       4.0.6-1.el7
    base           24 k
 libqb                               x86_64       1.0-1.el7
    base           92 k
 resource-agents                     x86_64       3.9.5-82.el7_3.1
     updates       360 k
Updating for dependencies:
 device-mapper                       x86_64       7:1.02.135-1.el7_3.1
     updates       269 k
 device-mapper-event                 x86_64       7:1.02.135-1.el7_3.1
     updates       177 k
 device-mapper-event-libs            x86_64       7:1.02.135-1.el7_3.1
     updates       177 k
 device-mapper-libs                  x86_64       7:1.02.135-1.el7_3.1
     updates       333 k
 device-mapper-persistent-data       x86_64       0.6.3-1.el7
    base          368 k
 lvm2                                x86_64       7:2.02.166-1.el7_3.1
     updates       1.1 M
 lvm2-libs                           x86_64       7:2.02.166-1.el7_3.1
     updates       984 k

Transaction Summary
====================================================================================================
Install  3 Packages (+5 Dependent packages)
Upgrade             ( 7 Dependent packages)

So it seems ok to me. It pulls the update of lvm2 package itself and also
the lvm2-cluster package (correctly pulled from the "updates" repo)

HIH,
Gianluca



More information about the CentOS mailing list