Advertisements

Tag Archives: yum

Keeping a particular version of a package in Red Hat Enterprise Linux

Adding a version lock for the packages shown below

root@linux:~ # yum versionlock libsmbclient libwbclient samba-client samba-client-libs samba-common samba-common-libs samba-common-tools samba-libs
Loaded plugins: changelog, langpacks, product-id, search-disabled-repos,
: subscription-manager, versionlock
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

Adding versionlock on: 0:libsmbclient-4.6.2-12.el7_4
Adding versionlock on: 0:libwbclient-4.6.2-12.el7_4
Adding versionlock on: 0:samba-client-4.6.2-12.el7_4
Adding versionlock on: 0:samba-client-libs-4.6.2-12.el7_4
Adding versionlock on: 0:samba-common-4.6.2-12.el7_4
Adding versionlock on: 0:samba-common-libs-4.6.2-12.el7_4
Adding versionlock on: 0:samba-common-tools-4.6.2-12.el7_4
Adding versionlock on: 0:samba-libs-4.6.2-12.el7_4
versionlock added: 8

Listing the packages that are under version lock

root@linux:~ # yum versionlock list
Loaded plugins: changelog, langpacks, product-id, search-disabled-repos,
: subscription-manager, versionlock
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

0:libsmbclient-4.6.2-12.el7_4.*
0:libwbclient-4.6.2-12.el7_4.*
0:samba-client-4.6.2-12.el7_4.*
0:samba-client-libs-4.6.2-12.el7_4.*
0:samba-common-4.6.2-12.el7_4.*
0:samba-common-libs-4.6.2-12.el7_4.*
0:samba-common-tools-4.6.2-12.el7_4.*
0:samba-libs-4.6.2-12.el7_4.*
versionlock list done

Advertisements

yum downgrade package: Error downgrading package

root@linux:~ # yum downgrade samba-libs-4.6.2-12.el7_4 samba-client-libs-4.6.2-12.el7_4 samba-client-4.6.2-12.el7_4 samba-common-libs-4.6.2-12.el7_4 samba-common-tools-4.6.2-12.el7_4 samba-common-4.6.2-12.el7_4
Loaded plugins: changelog, langpacks, product-id, search-disabled-repos, subscription-manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.

Resolving Dependencies
–> Running transaction check
—> Package samba-client.x86_64 0:4.6.2-12.el7_4 will be a downgrade
–> Processing Dependency: libsmbclient = 4.6.2-12.el7_4 for package: samba-client-4.6.2-12.el7_4.x86_64
—> Package samba-client.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-client-libs.x86_64 0:4.6.2-12.el7_4 will be a downgrade
–> Processing Dependency: libwbclient = 4.6.2-12.el7_4 for package: samba-client-libs-4.6.2-12.el7_4.x86_64
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.6.2-12.el7_4 will be a downgrade
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
—> Package samba-common-libs.x86_64 0:4.6.2-12.el7_4 will be a downgrade
—> Package samba-common-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common-tools.x86_64 0:4.6.2-12.el7_4 will be a downgrade
—> Package samba-common-tools.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-libs.x86_64 0:4.6.2-12.el7_4 will be a downgrade
—> Package samba-libs.x86_64 0:4.7.1-9.el7_5 will be erased
–> Running transaction check
—> Package libsmbclient.i686 0:4.6.2-12.el7_4 will be installed
–> Processing Dependency: libutil-cmdline-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libutil-cmdline-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtevent.so.0(TEVENT_0.9.9) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtevent.so.0(TEVENT_0.9.12) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtevent.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtevent-util.so.0(TEVENT_UTIL_0.0.1) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtevent-util.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libtalloc.so.2 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsmbconf.so.0(SMBCONF_0) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsmbconf.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsecrets3-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsecrets3-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba3-util-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba3-util-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-util.so.0(SAMBA_UTIL_0.0.1) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-util.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-security-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-security-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-errors.so.1(SAMBA_ERRORS_1) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-errors.so.1 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-debug-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libsamba-debug-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libreplace-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libreplace-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libndr.so.0(NDR_0.0.1) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libndr.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libndr-standard.so.0(NDR_STANDARD_0.0.1) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libndr-standard.so.0 for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libmsrpc3-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libmsrpc3-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: liblibsmb-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: liblibsmb-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: liblibcli-lsa3-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: liblibcli-lsa3-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libgse-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libgse-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libdcerpc-samba-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libdcerpc-samba-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libcli-smb-common-samba4.so(SAMBA_4.6.2) for package: libsmbclient-4.6.2-12.el7_4.i686
–> Processing Dependency: libcli-smb-common-samba4.so for package: libsmbclient-4.6.2-12.el7_4.i686
—> Package libwbclient.i686 0:4.6.2-12.el7_4 will be installed
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
–> Running transaction check
—> Package libtalloc.i686 0:2.1.9-1.el7 will be installed
—> Package libtevent.i686 0:0.9.31-1.el7 will be installed
—> Package samba-client-libs.i686 0:4.6.2-12.el7_4 will be installed
–> Processing Dependency: libtdb.so.1(TDB_1.3.11) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libtdb.so.1(TDB_1.3.0) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libtdb.so.1(TDB_1.2.5) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libtdb.so.1(TDB_1.2.2) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libtdb.so.1(TDB_1.2.1) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libtdb.so.1 for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1(LDB_1.1.19) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1(LDB_1.1.1) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1(LDB_0.9.23) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1(LDB_0.9.15) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1(LDB_0.9.10) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libldb.so.1 for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libcups.so.2 for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libacl.so.1(ACL_1.0) for package: samba-client-libs-4.6.2-12.el7_4.i686
–> Processing Dependency: libacl.so.1 for package: samba-client-libs-4.6.2-12.el7_4.i686
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
–> Running transaction check
—> Package cups-libs.i686 1:1.6.3-29.el7 will be installed
–> Processing Dependency: libavahi-common.so.3 for package: 1:cups-libs-1.6.3-29.el7.i686
–> Processing Dependency: libavahi-client.so.3 for package: 1:cups-libs-1.6.3-29.el7.i686
—> Package libacl.i686 0:2.2.51-12.el7 will be installed
—> Package libldb.i686 0:1.1.29-1.el7 will be installed
—> Package libtdb.i686 0:1.3.12-2.el7 will be installed
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
–> Running transaction check
—> Package avahi-libs.i686 0:0.6.31-17.el7 will be installed
–> Processing Dependency: libdbus-1.so.3 for package: avahi-libs-0.6.31-17.el7.i686
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
–> Running transaction check
—> Package dbus-libs.i686 1:1.6.12-17.el7 will be installed
—> Package samba-client-libs.x86_64 0:4.7.1-9.el7_5 will be erased
—> Package samba-common.noarch 0:4.7.1-9.el7_5 will be erased
–> Finished Dependency Resolution
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: samba-common = 4.7.1-9.el7_5
Removing: samba-common-4.7.1-9.el7_5.noarch (@rhel-7-server-rpms)
samba-common = 4.7.1-9.el7_5
Downgraded By: samba-common-4.6.2-12.el7_4.noarch (dxc-201803)
samba-common = 4.6.2-12.el7_4
Available: samba-common-4.1.1-31.el7.x86_64 (dxc-201803)
samba-common = 4.1.1-31.el7
Available: samba-common-4.1.1-33.el7_0.x86_64 (dxc-201803)
samba-common = 4.1.1-33.el7_0
Available: samba-common-4.1.1-35.el7_0.x86_64 (dxc-201803)
samba-common = 4.1.1-35.el7_0
Available: samba-common-4.1.1-37.el7_0.x86_64 (dxc-201803)
samba-common = 4.1.1-37.el7_0
Available: samba-common-4.1.1-38.el7_0.x86_64 (dxc-201803)
samba-common = 4.1.1-38.el7_0
Available: samba-common-4.1.12-21.el7_1.i686 (dxc-201803)
samba-common = 4.1.12-21.el7_1
Available: samba-common-4.1.12-23.el7_1.i686 (dxc-201803)
samba-common = 4.1.12-23.el7_1
Available: samba-common-4.1.12-24.el7_1.i686 (dxc-201803)
samba-common = 4.1.12-24.el7_1
Available: samba-common-4.2.3-10.el7.noarch (dxc-201803)
samba-common = 4.2.3-10.el7
Available: samba-common-4.2.3-11.el7_2.noarch (dxc-201803)
samba-common = 4.2.3-11.el7_2
Available: samba-common-4.2.3-12.el7_2.noarch (dxc-201803)
samba-common = 4.2.3-12.el7_2
Available: samba-common-4.2.10-6.el7_2.noarch (dxc-201803)
samba-common = 4.2.10-6.el7_2
Available: samba-common-4.2.10-6.2.el7_2.noarch (dxc-201803)
samba-common = 4.2.10-6.2.el7_2
Available: samba-common-4.2.10-7.el7_2.noarch (dxc-201803)
samba-common = 4.2.10-7.el7_2
Available: samba-common-4.2.10-8.el7_2.noarch (dxc-201803)
samba-common = 4.2.10-8.el7_2
Available: samba-common-4.2.10-9.el7_2.noarch (dxc-201803)
samba-common = 4.2.10-9.el7_2
Available: samba-common-4.4.4-9.el7.noarch (dxc-201803)
samba-common = 4.4.4-9.el7
Available: samba-common-4.4.4-12.el7_3.noarch (dxc-201803)
samba-common = 4.4.4-12.el7_3
Available: samba-common-4.4.4-13.el7_3.noarch (dxc-201803)
samba-common = 4.4.4-13.el7_3
Available: samba-common-4.4.4-14.el7_3.noarch (dxc-201803)
samba-common = 4.4.4-14.el7_3
Available: samba-common-4.6.2-8.el7.noarch (dxc-201803)
samba-common = 4.6.2-8.el7
Available: samba-common-4.6.2-10.el7_4.noarch (dxc-201803)
samba-common = 4.6.2-10.el7_4
Available: samba-common-4.6.2-11.el7_4.noarch (dxc-201803)
samba-common = 4.6.2-11.el7_4
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libsamba-security-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libsamba-security-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libsamba-security-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libwbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: samba-client-libs = 4.7.1-9.el7_5
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
samba-client-libs = 4.7.1-9.el7_5
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
samba-client-libs = 4.6.2-12.el7_4
Available: samba-client-libs-4.2.3-10.el7.i686 (dxc-201803)
samba-client-libs = 4.2.3-10.el7
Available: samba-client-libs-4.2.3-11.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.3-11.el7_2
Available: samba-client-libs-4.2.3-12.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.3-12.el7_2
Available: samba-client-libs-4.2.10-6.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-6.el7_2
Available: samba-client-libs-4.2.10-6.2.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-6.2.el7_2
Available: samba-client-libs-4.2.10-7.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-7.el7_2
Available: samba-client-libs-4.2.10-8.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-8.el7_2
Available: samba-client-libs-4.2.10-9.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-9.el7_2
Available: samba-client-libs-4.4.4-9.el7.i686 (dxc-201803)
samba-client-libs = 4.4.4-9.el7
Available: samba-client-libs-4.4.4-12.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-12.el7_3
Available: samba-client-libs-4.4.4-13.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-13.el7_3
Available: samba-client-libs-4.4.4-14.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-14.el7_3
Available: samba-client-libs-4.6.2-8.el7.i686 (dxc-201803)
samba-client-libs = 4.6.2-8.el7
Available: samba-client-libs-4.6.2-10.el7_4.i686 (dxc-201803)
samba-client-libs = 4.6.2-10.el7_4
Available: samba-client-libs-4.6.2-11.el7_4.i686 (dxc-201803)
samba-client-libs = 4.6.2-11.el7_4
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: samba-client-libs = 4.7.1-9.el7_5
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
samba-client-libs = 4.7.1-9.el7_5
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
samba-client-libs = 4.6.2-12.el7_4
Available: samba-client-libs-4.2.3-10.el7.i686 (dxc-201803)
samba-client-libs = 4.2.3-10.el7
Available: samba-client-libs-4.2.3-11.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.3-11.el7_2
Available: samba-client-libs-4.2.3-12.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.3-12.el7_2
Available: samba-client-libs-4.2.10-6.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-6.el7_2
Available: samba-client-libs-4.2.10-6.2.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-6.2.el7_2
Available: samba-client-libs-4.2.10-7.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-7.el7_2
Available: samba-client-libs-4.2.10-8.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-8.el7_2
Available: samba-client-libs-4.2.10-9.el7_2.i686 (dxc-201803)
samba-client-libs = 4.2.10-9.el7_2
Available: samba-client-libs-4.4.4-9.el7.i686 (dxc-201803)
samba-client-libs = 4.4.4-9.el7
Available: samba-client-libs-4.4.4-12.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-12.el7_3
Available: samba-client-libs-4.4.4-13.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-13.el7_3
Available: samba-client-libs-4.4.4-14.el7_3.i686 (dxc-201803)
samba-client-libs = 4.4.4-14.el7_3
Available: samba-client-libs-4.6.2-8.el7.i686 (dxc-201803)
samba-client-libs = 4.6.2-8.el7
Available: samba-client-libs-4.6.2-10.el7_4.i686 (dxc-201803)
samba-client-libs = 4.6.2-10.el7_4
Available: samba-client-libs-4.6.2-11.el7_4.i686 (dxc-201803)
samba-client-libs = 4.6.2-11.el7_4
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libutil-cmdline-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libutil-cmdline-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libutil-cmdline-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libmsrpc3-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libmsrpc3-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libmsrpc3-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libcli-smb-common-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libcli-smb-common-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libcli-smb-common-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libsecrets3-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libsecrets3-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libsecrets3-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libdcerpc-samba-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libdcerpc-samba-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libdcerpc-samba-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libwbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libreplace-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libreplace-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libreplace-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: liblibsmb-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
liblibsmb-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~liblibsmb-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libgse-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libgse-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libgse-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: liblibcli-lsa3-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
liblibcli-lsa3-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~liblibcli-lsa3-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libsamba3-util-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libsamba3-util-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libsamba3-util-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libsamba-debug-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libsamba-debug-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libsamba-debug-samba4.so(SAMBA_4.6.2)(64bit)
Error: Package: libsmbclient-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
Requires: libreplace-samba4.so(SAMBA_4.7.1)(64bit)
Removing: samba-client-libs-4.7.1-9.el7_5.x86_64 (@rhel-7-server-rpms)
libreplace-samba4.so(SAMBA_4.7.1)(64bit)
Downgraded By: samba-client-libs-4.6.2-12.el7_4.x86_64 (dxc-201803)
~libreplace-samba4.so(SAMBA_4.6.2)(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

To solve this problem I also added the package shown in each line “Error: Package:”

yum downgrade samba-libs-4.6.2-12.el7_4 samba-client-libs-4.6.2-12.el7_4 samba-client-4.6.2-12.el7_4 samba-common-libs-4.6.2-12.el7_4 samba-common-tools-4.6.2-12.el7_4 samba-common-4.6.2-12.el7_4 libsmbclient-4.6.2-12.el7_4 libwbclient-4.6.2-12.el7_4

Red Hat Enteprise Linux/CENTOS 6 with Mellanox network interface stopped working after reboot: mlx4_en.ko needs unknown symbol

In a upgrade, after installing the kernel-2.6.32-696.20.1.el6.x86_64 on a Red Hat 6 it showed the following message

mlx4_en.ko needs unknown symbol mlx4_SET_PORT_BEACON

The network interface were not working after the reboot

4 network interfaces that stopped working – eth0, eth1, eth2, eth3

They use the Mellanox driver

root@linux:~ # ethtool -i eth0
driver: mlx4_en
version: 4.1-1.0.2 (27 Jun 2017)
firmware-version: 2.35.5100
bus-info: 0000:04:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

root@linux:~ # modinfo mlx4_en
filename: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-en/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko
version: 2.3-2.0.1 (Dec 7 2014)
license: Dual BSD/GPL
description: Mellanox ConnectX HCA Ethernet driver
author: Liran Liss, Yevgeny Petrilin
srcversion: 86DD1A5FE5CF17268AFBB0D
depends: mlx4_core,compat,ptp
vermagic: 2.6.32-504.el6.x86_64 SMP mod_unload modversions
parm: inline_thold:threshold for using inline data (uint)
parm: udp_rss:Enable RSS for incoming UDP traffic (uint)
parm: num_lro:Dummy module parameter to prevent loading issues (uint)
parm: pfctx:Priority based Flow Control policy on TX[7:0]. Per priority bit mask (uint)
parm: pfcrx:Priority based Flow Control policy on RX[7:0]. Per priority bit mask (uint)

You need to install the Mellanox driver in order for the network interfaces to work

The server is a HPE Proliant DL380 Gen9. Download both files to install and copy them to the server. If necessary, boot the old working kernel

HPE Mellanox RoCE (RDMA over Converged Ethernet) Driver for Red Hat Enterprise Linux 6 Update 6 (x86_64)

HPE Mellanox RoCE (RDMA over Converged Ethernet) Driver for Red Hat Enterprise Linux 6 Update 7 (x86_64)

HPE Mellanox RoCE (RDMA over Converged Ethernet) Driver for Red Hat Enterprise Linux 6 Update 8 (x86_64)

HPE Mellanox RoCE (RDMA over Converged Ethernet) Driver for Red Hat Enterprise Linux 6 Update 9 (x86_64)

Copied both files to /tmp

kmod-mlnx-ofa_kernel-4.1-OFED.4.1.1.0.2.1.gc22af88.rhel6u9.x86_64.rpm
mlnx-ofa_kernel-4.1-OFED.4.1.1.0.2.1.gc22af88.rhel6u9.x86_64.rpm

In my case I had to remove the following packages and dependencies

# yum remove librdmacm libibverbs
# yum remove mlnx-en-utils kmod-mlnx-en

Then install both packages

root@linux:/tmp # rpm -ivh mlnx-ofa_kernel-4.1-OFED.4.1.1.0.2.1.gc22af88.rhel6u9.x86_64.rpm kmod-mlnx-ofa_kernel-4.1-OFED.4.1.1.0.2.1.gc22af88.rhel6u9.x86_64.rpm
warning: mlnx-ofa_kernel-4.1-OFED.4.1.1.0.2.1.gc22af88.rhel6u9.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 26c2b797: NOKEY
Preparing… ########################################### [100%]
1:mlnx-ofa_kernel ########################################### [ 50%]
Configured /etc/security/limits.conf
2:kmod-mlnx-ofa_kernel ########################################### [100%]
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko needs unknown symbol mlx4_test_interrupts
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko needs unknown symbol mlx4_set_stats_bitmap
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko needs unknown symbol ib_query_device
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko needs unknown symbol ib_alloc_pd
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_rq_tracked
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_q_counter
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_qkey_viol_cntr
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_sq_tracked
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_attach_nvmf_ns
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_update_local_lb
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_hca_vport_context
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rl_add_rate
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_create_auto_grouped_flow_table
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_rqt
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_node_guid
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_vendor_id
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_rq
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_alloc_q_counter
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_dct
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_set_delay_drop
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dealloc_q_counter
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_arm_dct
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_tis
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_tir
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_cmd_create_vport_lag
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_unregister_interface
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_min_inline
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dealloc_transport_domain
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_system_image_guid
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_lag_get_roce_netdev
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_add_flow_rules
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_destroy_flow_table
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_get_flow_namespace
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_tir
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_put_uars_page
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_get_uars_page
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_node_guid
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_detach_nvmf_ns
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_nvmf_backend_ctrl
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_del_flow_rules
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rdma_netdev_alloc
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_sq
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_system_image_guid
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_vport_counter
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_nvmf_backend_ctrl
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_max_mtu
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_gid
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_disable_roce
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_create_lag_demux_flow_table
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_sq_tracked
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rl_remove_rate
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_mkey_cb
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_eth_proto_oper
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_rq_tracked
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_set_dc_cnak_trace
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_rqt
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dct_query
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rdma_netdev_free
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_vl_hw_cap
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_pkey
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_ib_proto_oper
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_context
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_oper_mtu
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_register_interface
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_enable_roce
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_rq
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_tis
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_tis
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_link_width_oper
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_cq_moderation
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_dct
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_ib_ppcnt
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_alloc_bfreg
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_vector2eqn
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_lag_is_active
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_free_bfreg
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_sq
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_alloc_transport_domain
WARNING: /lib/modules/2.6.32-573.18.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_cmd_destroy_vport_lag
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko needs unknown symbol mlx4_test_interrupts
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/kernel/drivers/net/mlx4/mlx4_en.ko needs unknown symbol mlx4_set_stats_bitmap
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko needs unknown symbol ib_query_device
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/kernel/drivers/infiniband/ulp/ipoib/ib_ipoib.ko needs unknown symbol ib_alloc_pd
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_rq_tracked
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_q_counter
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_qkey_viol_cntr
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_sq_tracked
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_attach_nvmf_ns
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_update_local_lb
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_hca_vport_context
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rl_add_rate
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_create_auto_grouped_flow_table
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_rqt
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_node_guid
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_vendor_id
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_rq
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_alloc_q_counter
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_dct
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_set_delay_drop
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dealloc_q_counter
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_arm_dct
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_tis
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_tir
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_cmd_create_vport_lag
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_unregister_interface
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_min_inline
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dealloc_transport_domain
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_system_image_guid
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_lag_get_roce_netdev
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_add_flow_rules
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_destroy_flow_table
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_get_flow_namespace
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_tir
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_put_uars_page
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_get_uars_page
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_nic_vport_node_guid
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_detach_nvmf_ns
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_nvmf_backend_ctrl
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_del_flow_rules
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rdma_netdev_alloc
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_sq
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_system_image_guid
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_vport_counter
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_nvmf_backend_ctrl
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_max_mtu
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_gid
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_disable_roce
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_create_lag_demux_flow_table
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_sq_tracked
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rl_remove_rate
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_mkey_cb
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_eth_proto_oper
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_create_rq_tracked
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_set_dc_cnak_trace
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_rqt
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_dct_query
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_rdma_netdev_free
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_vl_hw_cap
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_pkey
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_ib_proto_oper
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_hca_vport_context
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_oper_mtu
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_register_interface
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_nic_vport_enable_roce
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_rq
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_tis
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_tis
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_query_port_link_width_oper
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_modify_cq_moderation
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_destroy_dct
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_ib_ppcnt
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_alloc_bfreg
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_vector2eqn
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_lag_is_active
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_free_bfreg
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_query_sq
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_core_alloc_transport_domain
WARNING: /lib/modules/2.6.32-573.22.1.el6.x86_64/weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx5/mlx5_ib.ko needs unknown symbol mlx5_cmd_destroy_vport_lag

Reboot the server

root@linux:~ # shutdown -r now

Broadcast message from root (pts/0) (Wed Feb 21 16:13:26 2018):

The system is going down for reboot NOW!

Installing Ansible for CentOS 6 using the EPEL repository

I’m going to install ansible from Extra Packages for Enterprise Linux (or EPEL)

On CentOS, you need to install the repository file that it is included in the extras repository

root@linux:~ # yum list epel-release
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.xpg.com.br
* extras: centos.xpg.com.br
* updates: mirror.ufscar.br
Available Packages
epel-release.noarch 6-8 extras

Install the package epel-release

root@linux:~ # yum install -y epel-release
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.xpg.com.br
* extras: centos.xpg.com.br
* updates: mirror.ufscar.br
Resolving Dependencies
–> Running transaction check
—> Package epel-release.noarch 0:6-8 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 6-8 extras 14 k

Transaction Summary
================================================================================
Install 1 Package(s)

Total download size: 14 k
Installed size: 22 k
Downloading Packages:
epel-release-6-8.noarch.rpm | 14 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release-6-8.noarch 1/1
Verifying : epel-release-6-8.noarch 1/1

Installed:
epel-release.noarch 0:6-8

Complete!

Install ansible and all the dependencies

root@linux:~ # yum install -y ansible
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 2.4 kB 00:00
* base: centos.xpg.com.br
* epel: mirror.globo.com
* extras: centos.xpg.com.br
* updates: mirror.ufscar.br
epel | 4.3 kB 00:00
epel/primary_db | 5.9 MB 00:05
Resolving Dependencies
–> Running transaction check
—> Package ansible.noarch 0:2.3.2.0-1.el6 will be installed
–> Processing Dependency: sshpass for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python2-jmespath for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python-simplejson for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python-keyczar for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python-jinja2-26 for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python-httplib2 for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: python-crypto2.6 for package: ansible-2.3.2.0-1.el6.noarch
–> Processing Dependency: PyYAML for package: ansible-2.3.2.0-1.el6.noarch
–> Running transaction check
—> Package PyYAML.x86_64 0:3.10-3.1.el6 will be installed
–> Processing Dependency: libyaml-0.so.2()(64bit) for package: PyYAML-3.10-3.1.el6.x86_64
—> Package python-crypto2.6.x86_64 0:2.6.1-2.el6 will be installed
—> Package python-httplib2.noarch 0:0.7.7-1.el6 will be installed
—> Package python-jinja2-26.noarch 0:2.6-3.el6 will be installed
–> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-26-2.6-3.el6.noarch
–> Processing Dependency: python-markupsafe for package: python-jinja2-26-2.6-3.el6.noarch
—> Package python-keyczar.noarch 0:0.71c-1.el6 will be installed
–> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-1.el6.noarch
—> Package python-simplejson.x86_64 0:2.0.9-3.1.el6 will be installed
—> Package python2-jmespath.noarch 0:0.9.0-2.el6 will be installed
—> Package sshpass.x86_64 0:1.06-1.el6 will be installed
–> Running transaction check
—> Package libyaml.x86_64 0:0.1.3-4.el6_6 will be installed
—> Package python-babel.noarch 0:0.9.4-5.1.el6 will be installed
—> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be installed
—> Package python-pyasn1.noarch 0:0.0.12a-1.el6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ansible noarch 2.3.2.0-1.el6 epel 5.9 M
Installing for dependencies:
PyYAML x86_64 3.10-3.1.el6 base 157 k
libyaml x86_64 0.1.3-4.el6_6 base 52 k
python-babel noarch 0.9.4-5.1.el6 base 1.4 M
python-crypto2.6 x86_64 2.6.1-2.el6 epel 513 k
python-httplib2 noarch 0.7.7-1.el6 epel 70 k
python-jinja2-26 noarch 2.6-3.el6 epel 527 k
python-keyczar noarch 0.71c-1.el6 epel 219 k
python-markupsafe x86_64 0.9.2-4.el6 base 22 k
python-pyasn1 noarch 0.0.12a-1.el6 base 70 k
python-simplejson x86_64 2.0.9-3.1.el6 base 126 k
python2-jmespath noarch 0.9.0-2.el6 epel 39 k
sshpass x86_64 1.06-1.el6 epel 20 k

Transaction Summary
================================================================================
Install 13 Package(s)

Total download size: 9.1 M
Installed size: 40 M
Downloading Packages:
(1/13): PyYAML-3.10-3.1.el6.x86_64.rpm | 157 kB 00:00
(2/13): ansible-2.3.2.0-1.el6.noarch.rpm | 5.9 MB 00:05
(3/13): libyaml-0.1.3-4.el6_6.x86_64.rpm | 52 kB 00:00
(4/13): python-babel-0.9.4-5.1.el6.noarch.rpm | 1.4 MB 00:01
(5/13): python-crypto2.6-2.6.1-2.el6.x86_64.rpm | 513 kB 00:00
(6/13): python-httplib2-0.7.7-1.el6.noarch.rpm | 70 kB 00:00
(7/13): python-jinja2-26-2.6-3.el6.noarch.rpm | 527 kB 00:00
(8/13): python-keyczar-0.71c-1.el6.noarch.rpm | 219 kB 00:00
(9/13): python-markupsafe-0.9.2-4.el6.x86_64.rpm | 22 kB 00:00
(10/13): python-pyasn1-0.0.12a-1.el6.noarch.rpm | 70 kB 00:00
(11/13): python-simplejson-2.0.9-3.1.el6.x86_64.rpm | 126 kB 00:00
(12/13): python2-jmespath-0.9.0-2.el6.noarch.rpm | 39 kB 00:00
(13/13): sshpass-1.06-1.el6.x86_64.rpm | 20 kB 00:00
——————————————————————————–
Total 878 kB/s | 9.1 MB 00:10
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Importing GPG key 0x0608B895:
Userid : EPEL (6) <epel@fedoraproject.org>
Package: epel-release-6-8.noarch (@extras)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : python-markupsafe-0.9.2-4.el6.x86_64 1/13
Installing : python-httplib2-0.7.7-1.el6.noarch 2/13
Installing : python-pyasn1-0.0.12a-1.el6.noarch 3/13
Installing : python-keyczar-0.71c-1.el6.noarch 4/13
Installing : python-crypto2.6-2.6.1-2.el6.x86_64 5/13
Installing : python-simplejson-2.0.9-3.1.el6.x86_64 6/13
Installing : python2-jmespath-0.9.0-2.el6.noarch 7/13
Installing : libyaml-0.1.3-4.el6_6.x86_64 8/13
Installing : PyYAML-3.10-3.1.el6.x86_64 9/13
Installing : sshpass-1.06-1.el6.x86_64 10/13
Installing : python-babel-0.9.4-5.1.el6.noarch 11/13
Installing : python-jinja2-26-2.6-3.el6.noarch 12/13
Installing : ansible-2.3.2.0-1.el6.noarch 13/13
Verifying : PyYAML-3.10-3.1.el6.x86_64 1/13
Verifying : python-babel-0.9.4-5.1.el6.noarch 2/13
Verifying : sshpass-1.06-1.el6.x86_64 3/13
Verifying : python-keyczar-0.71c-1.el6.noarch 4/13
Verifying : libyaml-0.1.3-4.el6_6.x86_64 5/13
Verifying : python2-jmespath-0.9.0-2.el6.noarch 6/13
Verifying : python-simplejson-2.0.9-3.1.el6.x86_64 7/13
Verifying : ansible-2.3.2.0-1.el6.noarch 8/13
Verifying : python-jinja2-26-2.6-3.el6.noarch 9/13
Verifying : python-crypto2.6-2.6.1-2.el6.x86_64 10/13
Verifying : python-pyasn1-0.0.12a-1.el6.noarch 11/13
Verifying : python-httplib2-0.7.7-1.el6.noarch 12/13
Verifying : python-markupsafe-0.9.2-4.el6.x86_64 13/13

Installed:
ansible.noarch 0:2.3.2.0-1.el6

Dependency Installed:
PyYAML.x86_64 0:3.10-3.1.el6
libyaml.x86_64 0:0.1.3-4.el6_6
python-babel.noarch 0:0.9.4-5.1.el6
python-crypto2.6.x86_64 0:2.6.1-2.el6
python-httplib2.noarch 0:0.7.7-1.el6
python-jinja2-26.noarch 0:2.6-3.el6
python-keyczar.noarch 0:0.71c-1.el6
python-markupsafe.x86_64 0:0.9.2-4.el6
python-pyasn1.noarch 0:0.0.12a-1.el6
python-simplejson.x86_64 0:2.0.9-3.1.el6
python2-jmespath.noarch 0:0.9.0-2.el6
sshpass.x86_64 0:1.06-1.el6

Complete!

Enabling EPEL on CentOS 7

Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL).

To enable it on CentOS 7, simply install a package called epel-release

root@linux:~ # yum install -y epel-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.xpg.com.br
* extras: centos.xpg.com.br
* updates: mirror.globo.com
Resolving Dependencies
–> Running transaction check
—> Package epel-release.noarch 0:7-6 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-6 extras 14 k

Transaction Summary
================================================================================
Install 1 Package

Total download size: 14 k
Installed size: 24 k
Downloading packages:
epel-release-7-6.noarch.rpm | 14 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-6.noarch 1/1
Verifying : epel-release-7-6.noarch 1/1

Installed:
epel-release.noarch 0:7-6

Complete!

Listing repositories

root@linux:~ # yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.xpg.com.br
* epel: mirror.globo.com
* extras: centos.xpg.com.br
* updates: mirror.globo.com
repo id repo name status
base/7/x86_64 CentOS-7 – Base 9,007
epel/x86_64 Extra Packages for Enterprise Linux 7 – x86_64 10,600
extras/7/x86_64 CentOS-7 – Extras 390
updates/7/x86_64 CentOS-7 – Updates 2,471
repolist: 22,468

Using yum behind a proxy on CentOS 6.3 and showing message Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

I’m behind a proxy and having problems using the EPEL repository on CentOS 6.3.

After installing it, it shows the message Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

root@linux:~ # yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again

From what I read, yum is not able to access the repository using HTTPS. So replace https for http

root@linux:~ # mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.bak
root@linux:~ # sed ‘s/https/http/g’ /etc/yum.repos.d/epel.repo.bak > /etc/yum.repos.d/epel.repo

Bug 486324 – (yum with proxy) and (repo with https uri) / ssl request doesn’t work throught proxy

error while loading shared libraries: libnl.so.1

error while loading shared libraries: libnl.so.1

Check which package provides the library that you want.

On Red Hat Linux you can check running yum whatprovides. On my case, I need to install libnl to solve my problem

root@linux:~ # yum whatprovides */libnl.so.1
Loaded plugins: downloadonly, rhnplugin, security

libnl-1.0-0.10.pre5.4.i386 : Convenience library for kernel netlink sockets
Repo : internalrepository
Matched from:
Filename : /usr/lib/libnl.so.1

libnl-1.0-0.10.pre5.5.i386 : Convenience library for kernel netlink sockets
Repo : internalrepository
Matched from:
Filename : /usr/lib/libnl.so.1

libnl-1.0-0.10.pre5.5.x86_64 : Convenience library for kernel netlink sockets
Repo : internalrepository
Matched from:
Filename : /usr/lib64/libnl.so.1

libnl-1.0-0.10.pre5.4.x86_64 : Convenience library for kernel netlink sockets
Repo : internalrepository
Matched from:
Filename : /usr/lib64/libnl.so.1

Error when updating Google Chrome: Public key for google-chrome-release-version.x86_64.rpm is not installed

When you update your Fedora desktop, you may receive a message complaining about a public key for Google Chrome not installed on your system

Public key for google-chrome-stable-41.0.2272.76-1.x86_64.rpm is not installed

Update the repository file and add the gpgkey parameter. If you want to install, you can also create this file and then yum install google-chrome-stable

root@fedora:~ # vi /etc/yum.repos.d/google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Then run again yum update or yum install google-chrome-stable and it will automatically import the public key

warning: /var/cache/yum/x86_64/21/google-chrome/packages/google-chrome-stable-41.0.2272.76-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY
Retrieving key from https://dl-ssl.google.com/linux/linux_signing_key.pub
Importing GPG key 0x7FAC5991:
Userid : “Google, Inc. Linux Package Signing Key <linux-packages-keymaster@google.com>”
Fingerprint: 4cca 1eaf 950c ee4a b839 76dc a040 830f 7fac 5991
From : https://dl-ssl.google.com/linux/linux_signing_key.pub

abrtd and abrt showing Corrupted or bad directory in /var/log/messages

Jul 24 10:52:12 rhel6 abrtd: New client connected
Jul 24 10:52:12 rhel6 abrt-server[66371]: Saved Python crash dump of pid 66370 to /var/spool/abrt/pyhook-2014-07-24-10:52:12-66370
Jul 24 10:52:12 rhel6 abrtd: Directory ‘pyhook-2014-07-24-10:52:12-66370’ creation detected
Jul 24 10:52:27 rhel6 abrtd: Sending an email…
Jul 24 10:52:27 rhel6 abrtd: Email was sent to: root@localhost
Jul 24 10:52:27 rhel6 abrtd: Duplicate: UUID
Jul 24 10:52:27 rhel6 abrtd: DUP_OF_DIR: /var/spool/abrt/pyhook-2014-06-12-14:10:18-27149
Jul 24 10:52:27 rhel6 abrtd: Corrupted or bad directory ‘/var/spool/abrt/pyhook-2014-07-24-10:47:08-41575’, deleting
Jul 24 10:54:44 rhel6 abrt: detected unhandled Python exception in ‘/usr/share/rhn/up2date_client/hardware.py’

You need to update the package rhn-client-tools and its dependencies.

root@rhel6:~ # yum update rhn-client-tools
root@rhel6:~ # service rhnsd restart

Souce: https://access.redhat.com/solutions/506353

yum: No module named gzip or another library

You are troubleshooting your yum installation, getting the missing libraries

root@linux:~ # yum whatprovides
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named gzip

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

If you see a different module, try to install all python libraries

root@linux:~ # yum repolist
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named zlib

Please install a package which provides this module, or
verify that the module is installed correctly.

It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Aug 29 2011, 10:55:55)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-51)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

List the packages starting with python

root@linux:~ # rpm -qa –qf “%{n}-%{arch}\n” | grep ^python
python-ldap-x86_64
python-urlgrabber-noarch
python-x86_64
python-libs-x86_64
python-devel-x86_64
python-sqlite-x86_64
python-numeric-x86_64
python-iniparse-noarch
python-elementtree-x86_64
python-dmidecode-x86_64
python-devel-i386

And query each one of them to see if there is a missing file. Reinstall the packages that report missing files.

root@linux:~ # rpm -V python-devel-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib64/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib64/python2.4/test/output/test_tokenize
missing /usr/lib64/python2.4/test/test_normalization.pyc
missing /usr/lib64/python2.4/test/test_normalization.pyo
missing /usr/lib64/python2.4/test/test_zipfile.py
missing /usr/lib64/python2.4/test/test_zipfile.pyc
missing /usr/lib64/python2.4/test/test_zipfile.pyo
missing /usr/lib64/python2.4/test/test_zipimport.py
missing /usr/lib64/python2.4/test/test_zipimport.pyc
missing /usr/lib64/python2.4/test/test_zipimport.pyo
missing /usr/lib/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib/python2.4/test/output/test_tokenize
missing /usr/lib/python2.4/test/test_normalization.pyc
missing /usr/lib/python2.4/test/test_normalization.pyo
missing /usr/lib/python2.4/test/test_zipfile.py
missing /usr/lib/python2.4/test/test_zipfile.pyc
missing /usr/lib/python2.4/test/test_zipfile.pyo
missing /usr/lib/python2.4/test/test_zipimport.py
missing /usr/lib/python2.4/test/test_zipimport.pyc
missing /usr/lib/python2.4/test/test_zipimport.pyo

root@linux:~ # rpm -V python-ldap-2.2.0-2.1

root@linux:~ # rpm -V python-urlgrabber-3.1.0-6.el5

root@linux:~ # rpm -V python-devel-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib64/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib64/python2.4/test/output/test_tokenize
missing /usr/lib64/python2.4/test/test_normalization.pyc
missing /usr/lib64/python2.4/test/test_normalization.pyo
missing /usr/lib64/python2.4/test/test_zipfile.py
missing /usr/lib64/python2.4/test/test_zipfile.pyc
missing /usr/lib64/python2.4/test/test_zipfile.pyo
missing /usr/lib64/python2.4/test/test_zipimport.py
missing /usr/lib64/python2.4/test/test_zipimport.pyc
missing /usr/lib64/python2.4/test/test_zipimport.pyo
missing /usr/lib/python2.4/test/decimaltestdata/normalize.decTest
missing /usr/lib/python2.4/test/decimaltestdata/quantize.decTest
missing /usr/lib/python2.4/test/output/test_tokenize
missing /usr/lib/python2.4/test/test_normalization.pyc
missing /usr/lib/python2.4/test/test_normalization.pyo
missing /usr/lib/python2.4/test/test_zipfile.py
missing /usr/lib/python2.4/test/test_zipfile.pyc
missing /usr/lib/python2.4/test/test_zipfile.pyo
missing /usr/lib/python2.4/test/test_zipimport.py
missing /usr/lib/python2.4/test/test_zipimport.pyc
missing /usr/lib/python2.4/test/test_zipimport.pyo

root@linux:~ # rpm -V python-sqlite-1.1.7-1.2.1

root@linux:~ # rpm -V python-numeric-23.7-2.2.2.el5_6.1

root@linux:~ # rpm -V python-iniparse-0.2.3-4.el5

root@linux:~ # rpm -V python-elementtree-1.2.6-5

root@linux:~ # rpm -V python-libs-2.4.3-44.el5_7.1
missing /usr/lib64/python2.4/_MozillaCookieJar.py
missing /usr/lib64/python2.4/_MozillaCookieJar.pyc
missing /usr/lib64/python2.4/_MozillaCookieJar.pyo
missing /usr/lib64/python2.4/tokenize.py
missing /usr/lib64/python2.4/tokenize.pyc
missing /usr/lib64/python2.4/tokenize.pyo
missing /usr/lib64/python2.4/tzparse.py
missing /usr/lib64/python2.4/tzparse.pyc
missing /usr/lib64/python2.4/tzparse.pyo
missing /usr/lib64/python2.4/zipfile.py
missing /usr/lib64/python2.4/zipfile.pyc
missing /usr/lib64/python2.4/zipfile.pyo

root@linux:~ # rpm -V python-dmidecode-3.10.13-1.el5_5.1

%d bloggers like this: