Bug 1333615

Summary: Outdated dependency of openchange breaks (prevents) update of samba 4.2.11 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-12.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-16 22:24:18 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-05-06 01:43:15 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-11.fc22.x86_64
$ rpm -qa 'samba*'
samba-libs-4.2.9-0.fc22.x86_64
samba-common-libs-4.2.9-0.fc22.x86_64
samba-client-libs-4.2.9-0.fc22.x86_64
samba-client-4.2.9-0.fc22.x86_64
samba-common-4.2.9-0.fc22.noarch


How reproducible:

Happens every time.


Steps to Reproduce:
1. Attempt to update packages. 

$ sudo dnf update
Last metadata expiration check performed 1:03:41 ago on Fri May  6 10:06:41 2016.
Dependencies resolved.
===============================================================================================================================================
 Package                                Arch                        Version                                 Repository                    Size
===============================================================================================================================================
Skipping packages with broken dependencies:
 libsmbclient                           x86_64                      2:4.2.11-0.fc22                         updates                      119 k
 libwbclient                            x86_64                      2:4.2.11-0.fc22                         updates                       95 k
 samba-client                           x86_64                      2:4.2.11-0.fc22                         updates                      497 k
 samba-client-libs                      x86_64                      2:4.2.11-0.fc22                         updates                      4.3 M
 samba-common                           noarch                      2:4.2.11-0.fc22                         updates                      161 k
 samba-common-libs                      x86_64                      2:4.2.11-0.fc22                         updates                      156 k
 samba-libs                             x86_64                      2:4.2.11-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 1:03:33 ago on Fri May  6 10:06:41 2016.
Error: package openchange-2.2-11.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.9)(64bit), but none of the providers can be installed.
package openchange-2.2-11.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.9)(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
Last metadata expiration check performed 0:05:09 ago on Fri May  6 10:26:11 2016.
Error: package openchange-2.2-11.fc22.x86_64 requires libsamba-debug-samba4.so(SAMBA_4.2.9)(64bit), but none of the providers can be installed


Expected results:

Should be able to update samba packages.

Comment 1 Milan Crha 2016-05-06 07:39:27 UTC
Thanks for a bug report. The openchange in Fedora 22 still requires rebuild of it when the samba changes. This had been forgotten, unfortunately. I'm currently building it and the update will be filled shortly after it's done.

Comment 2 Fedora Update System 2016-05-06 07:55:21 UTC
openchange-2.2-12.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2bd0b999e5

Comment 3 Fedora Update System 2016-05-06 20:51:34 UTC
openchange-2.2-12.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-2bd0b999e5

Comment 4 Tim Wegener 2016-05-09 05:35:11 UTC
That worked, thanks!


$ sudo dnf update --enablerepo=updates-testing openchange
...
Upgraded:
  libsmbclient.x86_64 2:4.2.11-0.fc22              libwbclient.x86_64 2:4.2.11-0.fc22               openchange.x86_64 2.2-12.fc22              
  samba-client.x86_64 2:4.2.11-0.fc22              samba-client-libs.x86_64 2:4.2.11-0.fc22         samba-common.noarch 2:4.2.11-0.fc22        
  samba-common-libs.x86_64 2:4.2.11-0.fc22         samba-libs.x86_64 2:4.2.11-0.fc22               



$ sudo dnf update
...
Nothing to do.
Complete!

$ rpm -q openchange
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

Comment 5 Fedora Update System 2016-05-16 22:24:15 UTC
openchange-2.2-12.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.