RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1026713 - RFE: yum install vs. yum upgrade behave different for cross arch upgrades from 64 => 32 bit.
Summary: RFE: yum install vs. yum upgrade behave different for cross arch upgrades fro...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Packaging Maintenance Team
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-05 09:48 UTC by dipu
Modified: 2018-12-06 15:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-24 15:55:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description dipu 2013-11-05 09:48:17 UTC
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

Comment 2 James Antill 2014-03-24 15:55:18 UTC
> 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.


Note You need to log in before you can comment on or make changes to this bug.