Hide Forgot
Description of problem: yum update trying to install 32 bit package of suitesparse as an update for suitesparse 64 bit package. If you try yum install suitesparse it behaves differently. Version-Release number of selected component (if applicable): yum-3.2.29-40.el6.noarch suitesparse-3.4.0-7.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Kickstart a Red Hat Enterprise Linux Workstation release 6.4 machine(x86_64) 2. Install suitesparse package (suitesparse-3.4.0-7.el6.x86_64) 3. Subscribe rhel-x86_64-workstation-optional-fastrack-6 channel to the system 4. Try yum install suitesparse and yum update suitesparse in the machine and you will see different results Actual results: [root@dhcp210-95 ~]# yum install suitesparse Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. This system is receiving updates from RHN Classic or RHN Satellite. rhel-x86_64-workstation-optional-fastrack-6 | 1.6 kB 00:00 rhel-x86_64-workstation-optional-fastrack-6/primary | 28 kB 00:01 rhel-x86_64-workstation-optional-fastrack-6 115/115 Setting up Install Process Package suitesparse-3.4.0-7.el6.x86_64 already installed and latest version Nothing to do [root@dhcp210-95 ~]# yum update suitesparse Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. This system is receiving updates from RHN Classic or RHN Satellite. Setting up Update Process Resolving Dependencies --> Running transaction check ---> Package suitesparse.x86_64 0:3.4.0-7.el6 will be updated ---> Package suitesparse.i686 0:3.4.0-8.el6 will be an update --> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libstdc++.so.6(CXXABI_1.3) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libstdc++.so.6 for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libm.so.6(GLIBC_2.1) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libm.so.6(GLIBC_2.0) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libm.so.6 for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: liblapack.so.3 for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_4.0.0) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libgcc_s.so.1 for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libcblas.so.3 for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.7) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.4) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.3) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.1) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6(GLIBC_2.0) for package: suitesparse-3.4.0-8.el6.i686 --> Processing Dependency: libc.so.6 for package: suitesparse-3.4.0-8.el6.i686 --> Running transaction check ---> Package atlas.i686 0:3.8.4-2.el6 will be installed --> Processing Dependency: libgfortran.so.3(GFORTRAN_1.0) for package: atlas-3.8.4-2.el6.i686 --> Processing Dependency: libgfortran.so.3 for package: atlas-3.8.4-2.el6.i686 ---> Package glibc.x86_64 0:2.12-1.107.el6 will be updated --> Processing Dependency: glibc = 2.12-1.107.el6 for package: glibc-common-2.12-1.107.el6.x86_64 ---> Package glibc.i686 0:2.12-1.107.el6_4.5 will be installed --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.107.el6_4.5.i686 --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.107.el6_4.5.i686 ---> Package glibc.x86_64 0:2.12-1.107.el6_4.5 will be an update ---> Package libgcc.i686 0:4.4.7-3.el6 will be installed ---> Package libstdc++.i686 0:4.4.7-3.el6 will be installed --> Running transaction check ---> Package glibc-common.x86_64 0:2.12-1.107.el6 will be updated ---> Package glibc-common.x86_64 0:2.12-1.107.el6_4.5 will be an update ---> Package libgfortran.i686 0:4.4.7-3.el6 will be installed ---> Package nss-softokn-freebl.x86_64 0:3.12.9-11.el6 will be updated ---> Package nss-softokn-freebl.i686 0:3.14.3-3.el6_4 will be installed ---> Package nss-softokn-freebl.x86_64 0:3.14.3-3.el6_4 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================ Updating: suitesparse i686 3.4.0-8.el6 rhel-x86_64-workstation-optional-fastrack-6 502 k Installing for dependencies: atlas i686 3.8.4-2.el6 rhel-x86_64-workstation-6 2.4 M glibc i686 2.12-1.107.el6_4.5 rhel-x86_64-workstation-6 4.3 M libgcc i686 4.4.7-3.el6 rhel-x86_64-workstation-6 112 k libgfortran i686 4.4.7-3.el6 rhel-x86_64-workstation-6 243 k libstdc++ i686 4.4.7-3.el6 rhel-x86_64-workstation-6 300 k nss-softokn-freebl i686 3.14.3-3.el6_4 rhel-x86_64-workstation-6 129 k Updating for dependencies: glibc x86_64 2.12-1.107.el6_4.5 rhel-x86_64-workstation-6 3.8 M glibc-common x86_64 2.12-1.107.el6_4.5 rhel-x86_64-workstation-6 14 M nss-softokn-freebl x86_64 3.14.3-3.el6_4 rhel-x86_64-workstation-6 139 k Transaction Summary ================================================================================================================================================================================ Install 6 Package(s) Upgrade 4 Package(s) Total download size: 26 M Is this ok [y/N]: n Expected results: yum update suitesparse shoudln't try to install suitesparse.i686 0:3.4.0-8.el6 as an update of suitesparse-3.4.0-7.el6.x86_64 yum install package and yum update package should give same result Additional info: The channel rhel-x86_64-workstation-optional-fastrack-6 only have i686 arch of suitesparse-3.4.0-8.el6, but yum shouldn't try to install suitesparse.i686 0:3.4.0-8.el6 as an update of suitesparse-3.4.0-7.el6.x86_64
> yum update suitesparse shoudln't try to install suitesparse.i686 0:3.4.0-8.el6 as an update of suitesparse-3.4.0-7.el6.x86_64 It's a newer version, why wouldn't it be installed? > yum install package and yum update package should give same result They should, but this is a weird corner case ... the recommended way to change arches is to use a versioned obsoletes. At which point yum install would do the same thing. In this case yum install is getting confused because of the arch difference and the fact that the latest version of the default arch is installed. While the commands do behave differently, and we try hard to make them behave the same way ... this is a very corner case and would be resolved by fixing the packaging.