Bug 1342873

Summary: Outdated dependency of openchange breaks (prevents) update of samba 4.2.12 packages
Product: [Fedora] Fedora Reporter: Tim Wegener <twegener>
Component: openchangeAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: gdeschner, mbarnes, mcrha, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openchange-2.2-13.fc22 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-15 01:37:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Wegener 2016-06-06 03:35:27 UTC
Description of problem:

Cannot update samba packages to 4.2.11-0 due to bad dependency in the openchange package.


Version-Release number of selected component (if applicable):

openchange-2.2-12.fc22.x86_64
$ rpm -qa 'samba*'
samba-client-libs-4.2.11-0.fc22.x86_64
samba-libs-4.2.11-0.fc22.x86_64
samba-client-4.2.11-0.fc22.x86_64
samba-common-4.2.11-0.fc22.noarch
samba-common-libs-4.2.11-0.fc22.x86_64


How reproducible:

Happens every time.


Steps to Reproduce:

1. Attempt to update packages. 

$ sudo dnf update
Last metadata expiration check performed 0:46:02 ago on Mon Jun  6 12:11:07 2016.
Dependencies resolved.
===============================================================================================================================================
 Package                                Arch                        Version                                 Repository                    Size
===============================================================================================================================================
Skipping packages with broken dependencies:
 libsmbclient                           x86_64                      2:4.2.12-0.fc22                         updates                      119 k
 libwbclient                            x86_64                      2:4.2.12-0.fc22                         updates                       95 k
 samba-client                           x86_64                      2:4.2.12-0.fc22                         updates                      497 k
 samba-client-libs                      x86_64                      2:4.2.12-0.fc22                         updates                      4.3 M
 samba-common                           noarch                      2:4.2.12-0.fc22                         updates                      162 k
 samba-common-libs                      x86_64                      2:4.2.12-0.fc22                         updates                      157 k
 samba-libs                             x86_64                      2:4.2.12-0.fc22                         updates                      258 k

Transaction Summary
===============================================================================================================================================
Skip  7 Packages

Nothing to do.
Complete!


2. Try again, using --best and --allowerasing options:

$ sudo dnf update --best --allowerasing
Last metadata expiration check performed 0:51:05 ago on Mon Jun  6 12:11:07 2016.
Error: package openchange-2.2-12.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.11)(64bit), but none of the providers can be installed.
package openchange-2.2-12.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.11)(64bit), but none of the providers can be installed


3. Try again, with the updates-testing repo enabled:

$ sudo dnf update --enablerepo=updates-testing --best --allowerasing samba-client-libs openchange
Fedora 22 - x86_64 - Test Updates                                                                              2.3 MB/s | 1.8 MB     00:00    
Last metadata expiration check performed 0:00:01 ago on Mon Jun  6 13:02:48 2016.
Error: package openchange-2.2-12.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.11)(64bit), but none of the providers can be installed



Expected results:

Should be able to update samba packages.


Additional info:

See the following bug where something similar happened in the past:
https://bugzilla.redhat.com/show_bug.cgi?id=1333615

Looks like openchange needs a rebuild for the latest samba update.

Comment 1 Milan Crha 2016-06-06 09:24:24 UTC
Thanks for a bug report. The OpenChange version in the Fedora 22 still depends on the libsamba-debug-samba4.so, thus if the samba updates, the OpenChange should too. Nonetheless, it didn't happen here.

I'm building the update and will file it once the build is done.

Comment 2 Fedora Update System 2016-06-06 09:47:48 UTC
openchange-2.2-13.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d120f41034

Comment 3 Fedora Update System 2016-06-07 05:21:26 UTC
openchange-2.2-13.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d120f41034

Comment 4 Fedora Update System 2016-06-15 01:36:58 UTC
openchange-2.2-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.