RHEL 7 problem with yum update NetworkManager

Latest response

When trying to update the NetworkManager package, yum is trying to install the package with wrong architecture?

The distro is RHEL 7.0 x86_64.

[root@vartiait-pc vartiait]# cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 7.0 (Maipo)

[root@vartiait-pc vartiait]# uname -a
Linux vartiait-pc.cc.tut.fi 3.10.0-123.1.2.el7.x86_64 #1 SMP Wed Jun 4 15:22:01 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

No i686 packages are installed.

[root@vartiait-pc vartiait]# rpm -qa | grep x86_64 | wc -l
1140

[root@vartiait-pc vartiait]# rpm -qa | grep i686 | wc -l
0

When trying to update, only an update for i686 is found.

[root@vartiait-pc vartiait]# yum update
Loaded plugins: langpacks, product-id, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package NetworkManager.x86_64 1:0.9.9.1-22.git20140326.4dba720.el7_0 will be updated
---> Package NetworkManager.i686 1:0.9.9.1-23.git20140326.4dba720.el7_0 will be an update
--> Processing Dependency: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libuuid.so.1 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libteamdctl.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libsystemd-login.so.0(LIBSYSTEMD_LOGIN_31) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libsystemd-login.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libssl3.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libsoup-2.4.so.1 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libsmime3.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libpthread.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libpolkit-gobject-1.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libplds4.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libplc4.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnssutil3.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnss3.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnspr4.so for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnm-util.so.2 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnm-glib.so.4 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnl-route-3.so.200 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnl-genl-3.so.200 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libnl-3.so.200 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libndp.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libmm-glib.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libm.so.6 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgudev-1.0.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgobject-2.0.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgmodule-2.0.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libglib-2.0.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgio-2.0.so.0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3.1) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libgcc_s.so.1 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libdl.so.2 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libdbus-glib-1.so.2 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libdbus-1.so.3 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.17) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Processing Dependency: libc.so.6 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
--> Running transaction check
---> Package ModemManager-glib.i686 0:1.1.0-6.git20130913.el7 will be installed
---> Package NetworkManager.i686 1:0.9.9.1-23.git20140326.4dba720.el7_0 will be an update
--> Processing Dependency: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
---> Package NetworkManager-glib.i686 1:0.9.9.1-22.git20140326.4dba720.el7_0 will be installed
---> Package dbus-glib.i686 0:0.100-7.el7 will be installed
--> Processing Dependency: libexpat.so.1 for package: dbus-glib-0.100-7.el7.i686
---> Package dbus-libs.i686 1:1.6.12-8.el7 will be installed
---> Package glib2.i686 0:2.36.3-5.el7 will be installed
--> Processing Dependency: libz.so.1(ZLIB_1.2.2) for package: glib2-2.36.3-5.el7.i686
--> Processing Dependency: libz.so.1 for package: glib2-2.36.3-5.el7.i686
--> Processing Dependency: libselinux.so.1 for package: glib2-2.36.3-5.el7.i686
--> Processing Dependency: libffi.so.6 for package: glib2-2.36.3-5.el7.i686
---> Package glibc.i686 0:2.17-55.el7 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.17-55.el7.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.17-55.el7.i686
---> Package libgcc.i686 0:4.8.2-16.el7 will be installed
---> Package libgudev1.i686 0:208-11.el7 will be installed
---> Package libndp.i686 0:1.2-4.el7 will be installed
---> Package libnl3.i686 0:3.2.21-6.el7 will be installed
---> Package libsoup.i686 0:2.42.2-3.el7 will be installed
--> Processing Dependency: libxml2.so.2(LIBXML2_2.4.30) for package: libsoup-2.42.2-3.el7.i686
--> Processing Dependency: libxml2.so.2 for package: libsoup-2.42.2-3.el7.i686
--> Processing Dependency: libsqlite3.so.0 for package: libsoup-2.42.2-3.el7.i686
---> Package libuuid.i686 0:2.23.2-16.el7 will be installed
---> Package nspr.i686 0:4.10.2-4.el7 will be installed
---> Package nss.i686 0:3.15.4-6.el7 will be installed
--> Processing Dependency: nss-softokn(x86-32) >= 3.15.4 for package: nss-3.15.4-6.el7.i686
--> Processing Dependency: libsoftokn3.so for package: nss-3.15.4-6.el7.i686
--> Processing Dependency: libnssdbm3.so for package: nss-3.15.4-6.el7.i686
---> Package nss-util.i686 0:3.15.4-2.el7 will be installed
---> Package polkit.i686 0:0.112-5.el7 will be installed
--> Processing Dependency: libpam.so.0(LIBPAM_1.0) for package: polkit-0.112-5.el7.i686
--> Processing Dependency: libpam.so.0 for package: polkit-0.112-5.el7.i686
--> Processing Dependency: libmozjs-17.0.so(mozjs_17.0) for package: polkit-0.112-5.el7.i686
--> Processing Dependency: libmozjs-17.0.so for package: polkit-0.112-5.el7.i686
---> Package systemd-libs.i686 0:208-11.el7 will be installed
--> Processing Dependency: liblzma.so.5(XZ_5.0) for package: systemd-libs-208-11.el7.i686
--> Processing Dependency: liblzma.so.5 for package: systemd-libs-208-11.el7.i686
--> Processing Dependency: libgpg-error.so.0 for package: systemd-libs-208-11.el7.i686
--> Processing Dependency: libgcrypt.so.11(GCRYPT_1.2) for package: systemd-libs-208-11.el7.i686
--> Processing Dependency: libgcrypt.so.11 for package: systemd-libs-208-11.el7.i686
--> Processing Dependency: libcap.so.2 for package: systemd-libs-208-11.el7.i686
---> Package teamd.i686 0:1.9-15.el7 will be installed
--> Processing Dependency: libteam.so.5 for package: teamd-1.9-15.el7.i686
--> Processing Dependency: libnl-cli-3.so.200 for package: teamd-1.9-15.el7.i686
--> Processing Dependency: libjansson.so.4 for package: teamd-1.9-15.el7.i686
--> Processing Dependency: libdaemon.so.0 for package: teamd-1.9-15.el7.i686
--> Running transaction check
---> Package NetworkManager.i686 1:0.9.9.1-23.git20140326.4dba720.el7_0 will be an update
--> Processing Dependency: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
---> Package expat.i686 0:2.1.0-8.el7 will be installed
---> Package jansson.i686 0:2.4-6.el7 will be installed
---> Package libcap.i686 0:2.22-8.el7 will be installed
--> Processing Dependency: libattr.so.1(ATTR_1.0) for package: libcap-2.22-8.el7.i686
--> Processing Dependency: libattr.so.1 for package: libcap-2.22-8.el7.i686
---> Package libdaemon.i686 0:0.14-7.el7 will be installed
---> Package libffi.i686 0:3.0.13-11.el7 will be installed
---> Package libgcrypt.i686 0:1.5.3-4.el7 will be installed
---> Package libgpg-error.i686 0:1.12-3.el7 will be installed
---> Package libnl3-cli.i686 0:3.2.21-6.el7 will be installed
---> Package libselinux.i686 0:2.2.2-6.el7 will be installed
--> Processing Dependency: libpcre.so.1 for package: libselinux-2.2.2-6.el7.i686
---> Package libteam.i686 0:1.9-15.el7 will be installed
---> Package libxml2.i686 0:2.9.1-5.el7 will be installed
---> Package mozjs17.i686 0:17.0.0-10.el7 will be installed
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: mozjs17-17.0.0-10.el7.i686
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: mozjs17-17.0.0-10.el7.i686
--> Processing Dependency: libstdc++.so.6 for package: mozjs17-17.0.0-10.el7.i686
---> Package nss-softokn.i686 0:3.15.4-2.el7 will be installed
---> Package nss-softokn-freebl.i686 0:3.15.4-2.el7 will be installed
---> Package pam.i686 0:1.1.8-9.el7 will be installed
--> Processing Dependency: libdb-5.3.so for package: pam-1.1.8-9.el7.i686
--> Processing Dependency: libcrack.so.2 for package: pam-1.1.8-9.el7.i686
--> Processing Dependency: libaudit.so.1 for package: pam-1.1.8-9.el7.i686
---> Package sqlite.i686 0:3.7.17-4.el7 will be installed
--> Processing Dependency: libtinfo.so.5 for package: sqlite-3.7.17-4.el7.i686
--> Processing Dependency: libreadline.so.6 for package: sqlite-3.7.17-4.el7.i686
--> Processing Dependency: libncurses.so.5 for package: sqlite-3.7.17-4.el7.i686
---> Package xz-libs.i686 0:5.1.2-8alpha.el7 will be installed
---> Package zlib.i686 0:1.2.7-13.el7 will be installed
--> Running transaction check
---> Package NetworkManager.i686 1:0.9.9.1-23.git20140326.4dba720.el7_0 will be an update
--> Processing Dependency: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0 for package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686
---> Package audit-libs.i686 0:2.3.3-4.el7 will be installed
---> Package cracklib.i686 0:2.9.0-11.el7 will be installed
---> Package libattr.i686 0:2.4.46-12.el7 will be installed
---> Package libdb.i686 0:5.3.21-17.el7 will be installed
---> Package libstdc++.i686 0:4.8.2-16.el7 will be installed
---> Package ncurses-libs.i686 0:5.9-13.20130511.el7 will be installed
---> Package pcre.i686 0:8.32-12.el7 will be installed
---> Package readline.i686 0:6.2-9.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686 (rhel-7-workstation-optional-rpms)
           Requires: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0
           Available: 1:NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.i686 (rhel-7-workstation-rpms)
               NetworkManager-glib(x86-32) = 1:0.9.9.1-13.git20140326.4dba720.el7
           Installing: 1:NetworkManager-glib-0.9.9.1-22.git20140326.4dba720.el7_0.i686 (rhel-7-workstation-rpms)
               NetworkManager-glib(x86-32) = 1:0.9.9.1-22.git20140326.4dba720.el7_0
Error: Package: 1:NetworkManager-0.9.9.1-23.git20140326.4dba720.el7_0.i686 (rhel-7-workstation-optional-rpms)
           Requires: NetworkManager-glib(x86-32) = 1:0.9.9.1-23.git20140326.4dba720.el7_0
           Available: 1:NetworkManager-glib-0.9.9.1-13.git20140326.4dba720.el7.i686 (rhel-7-workstation-rpms)
               NetworkManager-glib(x86-32) = 1:0.9.9.1-13.git20140326.4dba720.el7
           Available: 1:NetworkManager-glib-0.9.9.1-22.git20140326.4dba720.el7_0.i686 (rhel-7-workstation-rpms)
               NetworkManager-glib(x86-32) = 1:0.9.9.1-22.git20140326.4dba720.el7_0
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Any ideas why i686 version of the package is offered as an update and how to get the correct update installed?

Responses

I can confirm the same problem. I searched through the rpm repos and a yum search all "NetworkManager*" returns zero results.

It looks like there are NetworkManager packages in both the 'base' and the 'optional' channels, and the one in the optional channel is i686.. which looks like it's getting picked up and dragging all the i686 dependencies in.

Is this server subscribed to the optional channel?

Can you remove it from 'optional' temporarily and then try the update and see if it resolves this issue?

By unsubscribing the optional channel, I was able to update the system. Thanks a lot!

Definitely a bug that needs to be addressed with Red Hat.. I will chase it up tomorrow.

Thanks for the quick feedback!

@PixelDrift.NET Support: Thanks for helping everyone out!

@Everyone: For the record, the issue has been resolved. You can re-enable the optional repo. (I didn't look into why the NM package in optional was newer than the one in the regular channels for a little while.... if you have concerns, please open a ticket.)

Dear Ryan,

Please open a case for this, for RHEL 7 does not support i686 anymore.
So development has added an incorrect rpm in the main channel.

This can break others installations too.

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.0_Release_Notes/chap-Red_Hat_Enterprise_Linux-7.0_Release_Notes-Architectures.html

So you should not have run into this situation at all.

Kind regards,

Jan Gerrit Kootstra

@Jan Gerrit Kootstra: We ship hundreds of i686 rpms in the RHEL7 channels. I can only assume we ship a 32-bit version of NetworkManager to handle some corner case. Regardless, I've talked with a couple engineers and we're looking into it.

Sorry Ryan,

I see now you are not the original poster.
I see the statement about 64-bits, is only a support statement not an exclusion of 32-bits rpms on x86_64 architecture.

Thanks for the reminder.

Thanks for picking up the issue.

Kind regards,

Jan Gerrit

So in the end, it turns out it was a mistake to be shipping the i686 version of NetworkManager. We've got an internal BZ tracking this now. (#1112367)

__

Update: the BZ is now public

Bug 1112367 - NetworkManager failing to update

Thanks for the update, Ryan!

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.