Bug 684182 - [PACKAGING] python-qmf-debuginfo should obsolete qpid-cpp-mrg-debuginfo <= 0.9.1073306
Summary: [PACKAGING] python-qmf-debuginfo should obsolete qpid-cpp-mrg-debuginfo <= 0....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: Development
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: 2.0
: ---
Assignee: Nuno Santos
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-11 11:58 UTC by Frantisek Reznicek
Modified: 2017-04-15 11:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause Due to package reorganization (namely moving QMF code from the qpid-mrg set of packages to the qpid-qmf set of packages), QMF-related debug symbols moved from qpid-cpp-mrg-debuginfo to python-qmf-debuginfo. This makes a direct upgrade of debuginfo from 1.3.2 to a later version fail to work due to file conflicts. Consequence Installation/upgrade of messaging and qmf packages will fail with file conflicts if debug symbols are installed and requested to automatically update. Workaround The workaround is to manually uninstall the previous version of the debuginfo package before attempting to install/upgrade the newer messaging and qmf packages, as such: $ rpm -ev qpid-cpp-mrg-debuginfo Result The workaround does not introduce any limitations, and should prove to be simple to execute for users of debuginfo packages. Release Note Entry: File conflicts as a result of package reorganization (the QMF code was moved from the qpid-mrg set of packages to the qpid-gmf set of package) caused direct upgrades of debuginfo from version 1.3.2 to a later version fail if debug symbols were automatically upgraded. The workaround for this problem is to manually uninstall the previous version of the debuginfo package before an installation or upgrade of the newer messaging and qmf packages is done, such as: $ rpm -ev qpid-cpp-mrg-debuginfo This workaround does not introduce any limitations and is simple to execute for users of debuginfo packages.
Clone Of:
Environment:
Last Closed: 2011-06-23 15:43:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1442254 0 unspecified CLOSED update of ovirt-guest-agent-debuginfo fails due to confict with installed rhevm-guest-agent-debuginfo (el6 only) 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2011:0890 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 2.0 Release 2011-06-23 15:42:41 UTC

Internal Links: 1442254

Description Frantisek Reznicek 2011-03-11 11:58:24 UTC
Description of problem:

Recently there was movement of QMF libraries from broker package set (qpid-cpp-mrg) to python-qmf package set.

This has the effect of moving debug symbols from qpid-cpp-mrg-debuginfo to python-qmf-debuginfo package.

Unfortunately python-qmf-debuginfo does not obsolete older qpid-cpp-mrg-debuginfo packages which contained previous debug symbols of the QMF libs.

In other words installation of the messaging + qmf will fail if debug symbols are requested to update:

Preparing...                ########################################### [100%]
        file /usr/lib/debug/usr/lib/libqmf.so.3.0.0.debug from install of python-qmf-debuginfo-0.9.1079953-1.el4 conflicts with file from package qpid-cpp-mrg-debuginfo-0.9.1073306-1.el4
        file /usr/lib/debug/usr/lib/libqmf2.so.1.0.0.debug from install of python-qmf-debuginfo-0.9.1079953-1.el4 conflicts with file from package qpid-cpp-mrg-debuginfo-0.9.1073306-1.el4
        file /usr/lib/debug/usr/lib/libqmfconsole.so.4.0.0.debug from install of python-qmf-debuginfo-0.9.1079953-1.el4 conflicts with file from package qpid-cpp-mrg-debuginfo-0.9.1073306-1.el4
        file /usr/lib/debug/usr/lib/libqmfengine.so.3.0.0.debug from install of python-qmf-debuginfo-0.9.1079953-1.el4 conflicts with file from package qpid-cpp-mrg-debuginfo-0.9.1073306-1.el4



Version-Release number of selected component (if applicable):
qpid-cpp-*0.9.1079953-1 & python-qmf-*0.9.1079953-1

How reproducible:
100%

Steps to Reproduce:
1. install snap1 / 1.3.2 including debuginfos
2. update to snap2 (including debuginfos)
  
Actual results:
Upgrade with debuginfo packages from 1.3.2 / 2.0 Snap1 to 2.0 Snap2 not clean (not possible w/o hacks)

Expected results:
Upgrade with debuginfo packages from 1.3.2 / 2.0 Snap1 to 2.0 Snap2 should be ok.

Additional info:

Comment 1 Nuno Santos 2011-04-05 15:12:42 UTC
After consulting with different people, the consensus seems to be that we should release note this (and not support direct update), instead of trying to hack the generation of the debuginfo rpm. The rationale is that people who use debuginfo rpms are knowledgeable enough to handle the extra step of manual removal.

Comment 3 Nuno Santos 2011-05-26 14:16:20 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
Due to package reorganization (namely moving QMF code from the qpid-mrg set of packages to the qpid-qmf set of packages), QMF-related debug symbols moved from qpid-cpp-mrg-debuginfo to python-qmf-debuginfo.

This makes a direct upgrade of debuginfo from 1.3.2 to a later version fail to work due to file conflicts.

Consequence
Installation/upgrade of messaging and qmf packages will fail with file conflicts if debug symbols are installed and requested to automatically update.

Workaround
The workaround is to manually uninstall the previous version of the debuginfo package before attempting to install/upgrade the newer messaging and qmf packages, as such:

$ rpm -ev qpid-cpp-mrg-debuginfo

Result
The workaround does not introduce any limitations, and should prove to be simple to execute for users of debuginfo packages.

Comment 4 Frantisek Reznicek 2011-05-27 08:56:11 UTC
I'm fine with given technical note.

-> VERIFIED

Comment 5 Misha H. Ali 2011-05-30 23:31:03 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -12,4 +12,14 @@
 $ rpm -ev qpid-cpp-mrg-debuginfo
 
 Result
-The workaround does not introduce any limitations, and should prove to be simple to execute for users of debuginfo packages.+The workaround does not introduce any limitations, and should prove to be simple to execute for users of debuginfo packages.
+
+Release Note Entry:
+
+File conflicts as a result of package reorganization (the QMF code was moved from the qpid-mrg set of packages to the qpid-gmf set of package) caused direct upgrades of debuginfo from version 1.3.2 to a later version fail if debug symbols were automatically upgraded. 
+
+The workaround for this problem is to manually uninstall the previous version of the debuginfo package before an installation or upgrade of the newer messaging and qmf packages is done, such as:
+
+ $ rpm -ev qpid-cpp-mrg-debuginfo
+
+This workaround does not introduce any limitations and is simple to execute for users of debuginfo packages.

Comment 6 Misha H. Ali 2011-06-06 03:34:16 UTC
Technical note can be viewed in the release notes for 2.0 at the documentation stage here:

http://documentation-stage.bne.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/2.0/html-single/MRG_Release_Notes/index.html#tabl-MRG_Release_Notes-CONSOLE_Update_Notes-CONSOLE_Update_Notes

Comment 7 errata-xmlrpc 2011-06-23 15:43:53 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/RHEA-2011-0890.html


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