Bug 670733 - beakerlib to beaker-lib upgrade path possibly broken
Summary: beakerlib to beaker-lib upgrade path possibly broken
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: beakerlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Petr Muller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-19 06:33 UTC by Graeme Gillies
Modified: 2016-09-20 02:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-08 15:34:28 UTC
Type: ---


Attachments (Terms of Use)

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.


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