Bug 692032

Summary: [PACKAGING] qpid-qmf-debuginfo should obsolete python-qmf-debuginfo
Product: Red Hat Enterprise MRG Reporter: Frantisek Reznicek <freznice>
Component: distributionAssignee: Nuno Santos <nsantos>
Status: CLOSED CURRENTRELEASE QA Contact: Frantisek Reznicek <freznice>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: aortega, esammons, iboverma, jross
Target Milestone: 2.0   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause Due to package reorganization (namely moving QMF code from the top-level python-qmf package to the qpid-qmf set of packages), some QMF-related debug symbols moved from python-qmf-debuginfo to qpid-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 python-qmf-debuginfo Result The workaround does not introduce any limitations, and should prove to be simple to execute for users of debuginfo packages.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Frantisek Reznicek 2011-03-30 09:23:26 UTC
Description of problem:

QMF stuff was moved from python-qmf toplevel package to qpid-qmf.

Installation of qpid-qmf-debuginfo fails if python-qmf-debuginfo is installed.
qpid-qmf-debuginfo should obsolete python-qmf-debuginfo.

The change (python-qmf toplevel -> qpid-qmf) is not visible externally, so it is low prio/severity.


Version-Release number of selected component (if applicable):
python-qmf-debuginfo-0.9.1079953-3.el5
->
qpid-qmf-debuginfo-0.10-2.el5

How reproducible:
100% on RHEL4/5

Steps to Reproduce:
1. yum install python-qmf-debuginfo-0.9.1079953-3.el5
2. yum install qpid-qmf-debuginfo-0.10-2.el5
3. echo $?
  
Actual results:
qpid-qmf-debuginfo-0.10-2.el5 does not upgrade qpid-qmf-debuginfo-0.10-2.el5.

Expected results:
qpid-qmf-debuginfo-0.10-2.el5 should upgrade qpid-qmf-debuginfo-0.10-2.el5.

Additional info:
[root@mrg-qe-02 ~]# yum --enablerepo=mrg-rhel5-candidate  install qpid-qmf-debuginfo
Loaded plugins: rhnplugin, security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package qpid-qmf-debuginfo.x86_64 0:0.10-2.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================================
 Package                                Arch                       Version                         Repository                               Size
=================================================================================================================================================
Installing:
 qpid-qmf-debuginfo                     x86_64                     0.10-2.el5                      mrg-rhel5-candidate                     4.7 M

Transaction Summary
=================================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 4.7 M
Is this ok [y/N]: y
Downloading Packages:
qpid-qmf-debuginfo-0.10-2.el5.x86_64.rpm                                                                                  | 4.7 MB     00:21
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/lib/debug/usr/lib64/libqmf.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/libqmf2.so.1.0.0.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/libqmfconsole.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/libqmfengine.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/cqmf2.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/cqpid.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64
  file /usr/lib/debug/usr/lib64/ruby/site_ruby/1.8/x86_64-linux/qmfengine.so.debug from install of qpid-qmf-debuginfo-0.10-2.el5.x86_64 conflicts with file from package python-qmf-debuginfo-0.9.1079953-3.el5.x86_64

Error Summary
-------------

[root@mrg-qe-02 ~]# echo $?
1

Comment 1 Nuno Santos 2011-04-05 15:13:16 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 4 Nuno Santos 2011-05-26 14:22:45 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 top-level python-qmf package to the qpid-qmf set of packages), some QMF-related debug symbols moved from python-qmf-debuginfo to qpid-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 python-qmf-debuginfo

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

Comment 5 Frantisek Reznicek 2011-06-08 11:51:06 UTC
Release note explains the problem well.

-> VERIFIED