Bug 670733

Summary: beakerlib to beaker-lib upgrade path possibly broken
Product: [Fedora] Fedora Reporter: Graeme Gillies <ggillies>
Component: beakerlibAssignee: Petr Muller <pmuller>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bpeck, dcallagh, mcsontos, ohudlick, pmuller, rmancy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-08 15:34:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Graeme Gillies 2011-01-19 06:33:59 UTC
Description of problem:
When attempting to perform a yum upgrade on a server, an obsoletes of beakerlib by beaker-lib fails to allow the upgrade due to a conflict with a package beakerlib-redhat

Version-Release number of selected component (if applicable):
beakerlib-1.3-3.el5 getting obsoleted by beaker-lib-0.1271345738.beaker0_4.el5

and 

beakerlib-redhat-1-2.el5

How reproducible:
Every time

Steps to Reproduce:
1. yum upgrade -y on a machine that has beakerlib and beakerlib-redhat installed with the rhts-ops-live-noarch repo enabled
  
Actual results:
You get the following error

Dependencies Resolved

=============================================================================================================================================================================================
 Package                               Arch                              Version                                                       Repository                                       Size
=============================================================================================================================================================================================
Installing:
 beaker-lib                            noarch                            0.4.95-0.1271345738.beaker0_4.el5                             rhts-ops-live-noarch                            108 k
     replacing  beakerlib.noarch 1.3-3.el5


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

Total size: 108 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/lib/beakerlib/beakerlib.sh from install of beaker-lib-0.4.95-0.1271345738.beaker0_4.el5.noarch conflicts with file from package beakerlib-redhat-1-2.el5.noarch
  file /usr/share/rhts-library/rhtslib.sh from install of beaker-lib-0.4.95-0.1271345738.beaker0_4.el5.noarch conflicts with file from package beakerlib-redhat-1-2.el5.noarch

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

Expected results:
Upgrade works smoothly


Additional info:
It looks like some files from beakerlib-redhat have been moved into beaker-lib which is fine, but trying to remove beakerlib-redhat also trys to remove beaker-redhat, which looks to have some files not in any other package, so it might break functionality

Comment 1 Petr Muller 2011-04-08 15:34:28 UTC
I think this was solved by removing 'beaker-lib-0.4.*' packages from all repos we know of. That package is very old and for some reason it contained wrong obsolete/provide metadata. It is a dep mess. If you know of any repo still containing 'beaker-lib' package, let me know, we should remove it from there.