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 672647 - forgot _isa when packaging .rpm for 'report'
Summary: forgot _isa when packaging .rpm for 'report'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: report
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Gavin Romig-Koch
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 670215
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-25 19:40 UTC by Gavin Romig-Koch
Modified: 2011-05-19 14:07 UTC (History)
3 users (show)

Fixed In Version: report-0.18-8.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 670215
Environment:
Last Closed: 2011-05-19 14:07:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0703 0 normal SHIPPED_LIVE report bug fix update 2011-05-18 18:10:07 UTC

Description Gavin Romig-Koch 2011-01-25 19:40:30 UTC
+++ This bug was initially created as a clone of Bug #670215 +++

Description of problem: Rpm packaging of package 'report' forgot to specify _isa, which leads to mysterious errors when updating or installing other packages such as report-gtk.  See https://bugzilla.redhat.com/show_bug.cgi?id=669842#c2, specifically:
-----
1. You have report-0.20-1.fc14.x86_64 installed.

2. You want to install report-gtk-0.20-0.fc15.x86_64, which has a dep. on repo
= 0.20-0.fc15 (an older version than what you have installed).

3. Yum won't auto downgrade the x86_64 version, and the package doesn't use
_isa, so yum thinks it can solve the problem by installing
report-0.20-0.fc15.i686.
-----

Version-Release number of selected component (if applicable):
report-0.20-1.fc14.x86_64

How reproducible:
every time

Steps to Reproduce:
1. Attempt to install report-gtk.x86_64 0:0.20-0.fc15 when report-0.20-1.fc14.x86_64 is installed.
2.
3.
  
Actual results:
Error: Protected multilib versions: report-0.20-0.fc15.i686 !=
report-0.20-1.fc14.x86_64


Expected results: smooth integration between 'report' and 'report-gtk', including no complaints about i686 on an all-x86_64 system.


Additional info: originally filed against yum as https://bugzilla.redhat.com/show_bug.cgi?id=669842

Comment 1 Gavin Romig-Koch 2011-01-26 18:44:43 UTC
pushed upstream.

Comment 4 Gavin Romig-Koch 2011-02-17 18:42:00 UTC
See Description on this bz; it has a description of what happens on x86_64 if you don't have _isa.

Comment 5 Gavin Romig-Koch 2011-02-17 22:10:11 UTC
(In reply to comment #4)
> See Description on this bz; it has a description of what happens on x86_64 if
> you don't have _isa.

Sorry, I wasn't thinking when I said this.  You won't be able to test this (easily) more than you already have.   This change will not have any significant effect until at least two versions of report go out with this change.  At that point this change will prevent a customer from installing mismatched versions of (say) report and report-gtk.  There has always been a version specific dependency of report-gtk on report, which should prevent a report/report-gtk version mismatch, but without this _isa change, yum would 'work around' the version specific dependency by installing a different version of report (one that matched the version needed by report-gtk).

Of course, this version mismatch thing will never be a problem in the 'normal case' of a customer who only does updates from our official repos.  It could only ever be a problem for a customer who try's to downgrade to an old version incorrectly, or has some glitch while yum updating, or installs some packages outside of yum's control, or if we make a mistake and put the wrong package versions into our repo, or the wrong packages versions get put on the satellight they are using ....

Comment 6 John Reiser 2011-02-17 22:49:30 UTC
(In reply to comment #5)
> Of course, this version mismatch thing will never be a problem in the 'normal
> case' of a customer who only does updates from our official repos.

"Never" is a very long time.  The problem _will_ happen if there is more than one repository and they are at different over-all versions, or in a single repository if the packages are updated non-atomically.  In practice is it hard to guarantee consistent versions due to reasons such as network delays, power outages, operator error or misunderstanding, etc.

Comment 8 errata-xmlrpc 2011-05-19 14:07:27 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0703.html


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